about summary refs log tree commit diff
path: root/src
diff options
context:
space:
mode:
authorAlexander Barton <alex@barton.de>2010-04-11 16:58:29 +0000
committerAlexander Barton <alex@barton.de>2010-04-11 16:58:29 +0000
commit1caa3fb94b6e23d7b63183f6cb6c97ed1821350c (patch)
tree6754ae415945b4752fcf5161bad7bf1d34dba01e /src
parent025342fe46ae504a08be8c642901ec7eb7c4fccb (diff)
downloadngircd-1caa3fb94b6e23d7b63183f6cb6c97ed1821350c.tar.gz
ngircd-1caa3fb94b6e23d7b63183f6cb6c97ed1821350c.zip
Include netinet/in_systm.h alongside netinet/ip.h
This fixes the following error when compiling on e.g. FreeBSD 6.x:

In file included from conn.c:40:
/usr/include/netinet/ip.h:160: error: syntax error before "n_long"
/usr/include/netinet/ip.h:163: error: syntax error before "n_long"
Diffstat (limited to 'src')
-rw-r--r--src/ngircd/conn.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/ngircd/conn.c b/src/ngircd/conn.c
index ab975b31..0ff6067f 100644
--- a/src/ngircd/conn.c
+++ b/src/ngircd/conn.c
@@ -37,6 +37,7 @@
 #include <netinet/in.h>
 
 #ifdef HAVE_NETINET_IP_H
+# include <netinet/in_systm.h>
 # include <netinet/ip.h>
 #endif