From 1caa3fb94b6e23d7b63183f6cb6c97ed1821350c Mon Sep 17 00:00:00 2001 From: Alexander Barton Date: Sun, 11 Apr 2010 16:58:29 +0000 Subject: [PATCH] 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" --- src/ngircd/conn.c | 1 + 1 file changed, 1 insertion(+) 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 #ifdef HAVE_NETINET_IP_H +# include # include #endif -- 2.39.2