summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/core/Makefile.am1
-rw-r--r--src/core/net-internal.h8
-rw-r--r--src/core/network.c1
-rw-r--r--src/core/network.h6
4 files changed, 6 insertions, 10 deletions
diff --git a/src/core/Makefile.am b/src/core/Makefile.am
index 0f1ff588..1dc2f5f9 100644
--- a/src/core/Makefile.am
+++ b/src/core/Makefile.am
@@ -78,7 +78,6 @@ noinst_HEADERS = \
module.h \
modules.h \
net-disconnect.h \
- net-internal.h \
net-nonblock.h \
net-sendbuffer.h \
network.h \
diff --git a/src/core/net-internal.h b/src/core/net-internal.h
deleted file mode 100644
index dd870a1b..00000000
--- a/src/core/net-internal.h
+++ /dev/null
@@ -1,8 +0,0 @@
-#ifdef HAVE_SOCKS_H
-#include <socks.h>
-#endif
-
-#ifndef WIN32
-# include <netdb.h>
-# include <arpa/inet.h>
-#endif
diff --git a/src/core/network.c b/src/core/network.c
index 535cdcf8..5315d063 100644
--- a/src/core/network.c
+++ b/src/core/network.c
@@ -20,7 +20,6 @@
#include "module.h"
#include "network.h"
-#include "net-internal.h"
#ifndef INADDR_NONE
# define INADDR_NONE INADDR_BROADCAST
diff --git a/src/core/network.h b/src/core/network.h
index 0697c4c8..4c25740f 100644
--- a/src/core/network.h
+++ b/src/core/network.h
@@ -1,10 +1,16 @@
#ifndef __NETWORK_H
#define __NETWORK_H
+#ifdef HAVE_SOCKS_H
+#include <socks.h>
+#endif
+
#include <sys/types.h>
#ifndef WIN32
# include <sys/socket.h>
# include <netinet/in.h>
+# include <netdb.h>
+# include <arpa/inet.h>
#endif
#ifndef AF_INET6