diff options
-rw-r--r-- | src/include/gnunet_common.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/include/gnunet_common.h b/src/include/gnunet_common.h index cb2ed4c0c..2d13d0ecc 100644 --- a/src/include/gnunet_common.h +++ b/src/include/gnunet_common.h | |||
@@ -30,6 +30,13 @@ | |||
30 | #ifndef GNUNET_COMMON_H | 30 | #ifndef GNUNET_COMMON_H |
31 | #define GNUNET_COMMON_H | 31 | #define GNUNET_COMMON_H |
32 | 32 | ||
33 | #if HAVE_SYS_SOCKET_H | ||
34 | #include <sys/socket.h> | ||
35 | #endif | ||
36 | #if HAVE_NETINET_IN_H | ||
37 | #include <netinet/in.h> | ||
38 | #endif | ||
39 | |||
33 | /** | 40 | /** |
34 | * Version of the API (for entire gnunetutil.so library). | 41 | * Version of the API (for entire gnunetutil.so library). |
35 | */ | 42 | */ |