diff options
author | Christian Grothoff <christian@grothoff.org> | 2010-06-05 22:42:30 +0000 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2010-06-05 22:42:30 +0000 |
commit | 07d97d6e0e24ea088d050d03014f05093bf2007b (patch) | |
tree | 41cbc563821274997206a5178e68fec3e217b01f /src/include/gnunet_common.h | |
parent | 1e50ffc2937079fc2ea1e625a356535ac200daf9 (diff) | |
download | gnunet-07d97d6e0e24ea088d050d03014f05093bf2007b.tar.gz gnunet-07d97d6e0e24ea088d050d03014f05093bf2007b.zip |
check for headers at least conditionally
Diffstat (limited to 'src/include/gnunet_common.h')
-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 | */ |