diff options
Diffstat (limited to 'libdimension/dimension')
-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); |