summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorSebastien Helleu <flashcode@flashtux.org>2008-05-02 10:28:39 +0200
committerSebastien Helleu <flashcode@flashtux.org>2008-05-02 10:28:39 +0200
commit1525adda5a1d2480694fdb5cabccbafb73364216 (patch)
tree69844e1812d45cd1b054cdf9e3043e7fef1c054e /src
parent673e4ad3bed15e26d6384103549127c56e7ce7b8 (diff)
downloadweechat-1525adda5a1d2480694fdb5cabccbafb73364216.zip
Fix compilation of xfer plugin on FreeBSD
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>