summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorSebastien Helleu <flashcode@flashtux.org>2014-01-10 17:50:12 +0100
committerSebastien Helleu <flashcode@flashtux.org>2014-01-10 17:50:12 +0100
commit3bba89192760c642d2ab900dadfe57fb871d551b (patch)
treee77e2f543464a6382fe425c3b4de0f7df2f19fb2 /src
parent02868b4dc0e9c3c6d6f2659e8f617d658ba21f6c (diff)
downloadweechat-3bba89192760c642d2ab900dadfe57fb871d551b.zip
irc: add missing include of netinet/in.h (fix compilation error on FreeBSD)
Diffstat (limited to 'src')
-rw-r--r--src/plugins/irc/irc-server.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/plugins/irc/irc-server.c b/src/plugins/irc/irc-server.c
index 05e78fca3..c058ba9d1 100644
--- a/src/plugins/irc/irc-server.c
+++ b/src/plugins/irc/irc-server.c
@@ -39,6 +39,7 @@
#include <sys/types.h>
#include <netdb.h>
#include <arpa/inet.h>
+#include <netinet/in.h>
#ifdef HAVE_GNUTLS
#include <gnutls/gnutls.h>