projects
/
oweals
/
gnunet.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1e50ffc
)
check for headers at least conditionally
author
Christian Grothoff
<christian@grothoff.org>
Sat, 5 Jun 2010 22:42:30 +0000
(22:42 +0000)
committer
Christian Grothoff
<christian@grothoff.org>
Sat, 5 Jun 2010 22:42:30 +0000
(22:42 +0000)
src/include/gnunet_common.h
patch
|
blob
|
history
diff --git
a/src/include/gnunet_common.h
b/src/include/gnunet_common.h
index cb2ed4c0c9e4e24ee9059d975b2ae30254331bfa..2d13d0ecc1855f8de8fd24e4baa1646f177b48b0 100644
(file)
--- a/
src/include/gnunet_common.h
+++ b/
src/include/gnunet_common.h
@@
-30,6
+30,13
@@
#ifndef GNUNET_COMMON_H
#define GNUNET_COMMON_H
+#if HAVE_SYS_SOCKET_H
+#include <sys/socket.h>
+#endif
+#if HAVE_NETINET_IN_H
+#include <netinet/in.h>
+#endif
+
/**
* Version of the API (for entire gnunetutil.so library).
*/