diff options
author | Christian Grothoff <christian@grothoff.org> | 2020-01-18 18:47:30 +0100 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2020-01-18 18:47:30 +0100 |
commit | bbfde2060e97546d0a57290793d508617ad0452f (patch) | |
tree | f461b79529239d9700e4985176e7583b4142274c /src/include/gnunet_common.h | |
parent | 5d70ce8db518144207a99c56f0e0a180370d8ee9 (diff) | |
download | gnunet-bbfde2060e97546d0a57290793d508617ad0452f.tar.gz gnunet-bbfde2060e97546d0a57290793d508617ad0452f.zip |
include mandatory includes
Diffstat (limited to 'src/include/gnunet_common.h')
-rw-r--r-- | src/include/gnunet_common.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/include/gnunet_common.h b/src/include/gnunet_common.h index 36f9eee4a..6e185c314 100644 --- a/src/include/gnunet_common.h +++ b/src/include/gnunet_common.h | |||
@@ -36,6 +36,7 @@ | |||
36 | #ifndef GNUNET_COMMON_H | 36 | #ifndef GNUNET_COMMON_H |
37 | #define GNUNET_COMMON_H | 37 | #define GNUNET_COMMON_H |
38 | 38 | ||
39 | #include <stdlib.h> | ||
39 | #if HAVE_SYS_SOCKET_H | 40 | #if HAVE_SYS_SOCKET_H |
40 | #include <sys/socket.h> | 41 | #include <sys/socket.h> |
41 | #endif | 42 | #endif |
@@ -48,6 +49,13 @@ | |||
48 | #ifdef HAVE_STDARG_H | 49 | #ifdef HAVE_STDARG_H |
49 | #include <stdarg.h> | 50 | #include <stdarg.h> |
50 | #endif | 51 | #endif |
52 | #ifdef HAVE_SYS_TYPES_H | ||
53 | #include <sys/types.h> | ||
54 | #endif | ||
55 | #ifdef HAVE_SYS_SOCKET_H | ||
56 | #include <sys/socket.h> | ||
57 | #endif | ||
58 | |||
51 | 59 | ||
52 | #ifdef HAVE_BYTESWAP_H | 60 | #ifdef HAVE_BYTESWAP_H |
53 | #include <byteswap.h> | 61 | #include <byteswap.h> |