Message ID | 52010F03.7060806@gmail.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
diff --git a/src/include/buffer.h b/src/include/buffer.h index 99c1985..d485c3f 100644 --- a/src/include/buffer.h +++ b/src/include/buffer.h @@ -16,17 +16,19 @@ #define CEPH_BUFFER_H #if defined(__linux__) +#include <stdlib.h> #include <linux/types.h> #elif defined(__FreeBSD__) #include <sys/types.h> #include "include/inttypes.h" +#include <stdlib.h> #endif #ifndef _XOPEN_SOURCE # define _XOPEN_SOURCE 600 #endif -#include <stdlib.h> +//#include <stdlib.h> #include <stdio.h> #ifdef DARWIN