aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorNils Durner <durner@gnunet.org>2010-06-05 08:35:39 +0000
committerNils Durner <durner@gnunet.org>2010-06-05 08:35:39 +0000
commitcf96e25a7a3c3864bb936b1b82fd086ca8d16a5e (patch)
tree6a1a96582416912f478d95deabfec4d898c6c332 /src
parent66c32708f818e920e471967c785b283d71f6daa2 (diff)
downloadgnunet-cf96e25a7a3c3864bb936b1b82fd086ca8d16a5e.tar.gz
gnunet-cf96e25a7a3c3864bb936b1b82fd086ca8d16a5e.zip
move platform specific stuff to platform.h
Diffstat (limited to 'src')
-rw-r--r--src/include/gnunet_common.h4
-rw-r--r--src/include/platform.h1
2 files changed, 1 insertions, 4 deletions
diff --git a/src/include/gnunet_common.h b/src/include/gnunet_common.h
index 1a6111e27..cb2ed4c0c 100644
--- a/src/include/gnunet_common.h
+++ b/src/include/gnunet_common.h
@@ -35,10 +35,6 @@
35 */ 35 */
36#define GNUNET_UTIL_VERSION 0x00000000 36#define GNUNET_UTIL_VERSION 0x00000000
37 37
38#include <sys/socket.h>
39#include <netinet/in.h>
40#include <netinet/ip.h> /* superset of previous */
41
42/** 38/**
43 * Name used for "services" that are actually command-line 39 * Name used for "services" that are actually command-line
44 * programs invoked by the end user. 40 * programs invoked by the end user.
diff --git a/src/include/platform.h b/src/include/platform.h
index 7bf2b2f8f..0d39eaf10 100644
--- a/src/include/platform.h
+++ b/src/include/platform.h
@@ -83,6 +83,7 @@
83#include <netdb.h> 83#include <netdb.h>
84#include <sys/socket.h> 84#include <sys/socket.h>
85#include <netinet/in.h> 85#include <netinet/in.h>
86#include <netinet/ip.h> /* superset of previous */
86#include <arpa/inet.h> 87#include <arpa/inet.h>
87#include <netinet/tcp.h> 88#include <netinet/tcp.h>
88#include <pwd.h> 89#include <pwd.h>