summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/plugins/xfer/xfer-dcc.c1
-rw-r--r--src/plugins/xfer/xfer-network.c1
-rw-r--r--src/plugins/xfer/xfer.c1
3 files changed, 3 insertions, 0 deletions
diff --git a/src/plugins/xfer/xfer-dcc.c b/src/plugins/xfer/xfer-dcc.c
index 4f94b5d1c..97d8c51aa 100644
--- a/src/plugins/xfer/xfer-dcc.c
+++ b/src/plugins/xfer/xfer-dcc.c
@@ -24,6 +24,7 @@
#include <sys/types.h>
#include <sys/stat.h>
#include <sys/socket.h>
+#include <netinet/in.h>
#include <fcntl.h>
#include <time.h>
#include <netdb.h>
diff --git a/src/plugins/xfer/xfer-network.c b/src/plugins/xfer/xfer-network.c
index e09272c86..ac81e1b36 100644
--- a/src/plugins/xfer/xfer-network.c
+++ b/src/plugins/xfer/xfer-network.c
@@ -26,6 +26,7 @@
#include <sys/types.h>
#include <sys/wait.h>
#include <sys/socket.h>
+#include <netinet/in.h>
#include <signal.h>
#include <time.h>
#include <netdb.h>
diff --git a/src/plugins/xfer/xfer.c b/src/plugins/xfer/xfer.c
index eee29bcc2..4d07d0830 100644
--- a/src/plugins/xfer/xfer.c
+++ b/src/plugins/xfer/xfer.c
@@ -26,6 +26,7 @@
#include <sys/types.h>
#include <sys/stat.h>
#include <time.h>
+#include <sys/socket.h>
#include <netinet/in.h>
#include <netdb.h>