diff options
author | Tavian Barnes <tavianator@gmail.com> | 2010-04-27 10:59:22 -0400 |
---|---|---|
committer | Tavian Barnes <tavianator@gmail.com> | 2010-04-27 10:59:22 -0400 |
commit | 7ad154ff068b0905116cf8dd3ad019bee092d696 (patch) | |
tree | eb27fca4b20654d609f2839a3c30fd5e2b3bd18b | |
parent | 919121bdf572b632cc5bfbbee502664682b26ab8 (diff) | |
download | dimension-7ad154ff068b0905116cf8dd3ad019bee092d696.tar.xz |
Fix some spurious includes.
-rw-r--r-- | libdimension/dimension/array.h | 5 | ||||
-rw-r--r-- | libdimension/dimension/malloc.h | 2 |
2 files changed, 3 insertions, 4 deletions
diff --git a/libdimension/dimension/array.h b/libdimension/dimension/array.h index a301de5..13ee636 100644 --- a/libdimension/dimension/array.h +++ b/libdimension/dimension/array.h @@ -27,9 +27,8 @@ #ifndef DIMENSION_ARRAY_H #define DIMENSION_ARRAY_H -#include <pthread.h> /* For pthread_rwlock_t */ -#include <stdlib.h> /* For size_t */ -#include <string.h> /* For memcpy */ +#include <stddef.h> /* For size_t */ +#include <string.h> /* For memcpy */ typedef struct { void *ptr; diff --git a/libdimension/dimension/malloc.h b/libdimension/dimension/malloc.h index 8ca4f9d..881f208 100644 --- a/libdimension/dimension/malloc.h +++ b/libdimension/dimension/malloc.h @@ -24,7 +24,7 @@ * way except it calls dmnsn_error() on failure. */ -#include <stdlib.h> /* For size_t */ +#include <stddef.h> /* For size_t */ void *dmnsn_malloc(size_t size); void *dmnsn_realloc(void *ptr, size_t size); |