about summary refs log tree commit diff
path: root/src/ipaddr/ng_ipaddr.c
diff options
context:
space:
mode:
authorFlorian Westphal <fw@strlen.de>2008-05-10 21:49:51 +0200
committerFlorian Westphal <fw@strlen.de>2008-05-10 21:49:51 +0200
commitd9c26f3aeb35e979b72f7b0ac4220dbd07d7bc15 (patch)
tree1c02e11989555b4472a38f37c4c6094d19932ee2 /src/ipaddr/ng_ipaddr.c
parent0510bbe958c12ce7990dbc533b41a650678a10f6 (diff)
downloadngircd-d9c26f3aeb35e979b72f7b0ac4220dbd07d7bc15.tar.gz
ngircd-d9c26f3aeb35e979b72f7b0ac4220dbd07d7bc15.zip
ng_ipaddr.h must include netinet/in.h.
compile on FreeBSD 5.4 failed with:
./../ipaddr/ng_ipaddr.h:34: error: field `sin4' has incomplete type

Reported and tested by Jefferson S Almeida.
Diffstat (limited to 'src/ipaddr/ng_ipaddr.c')
-rw-r--r--src/ipaddr/ng_ipaddr.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/src/ipaddr/ng_ipaddr.c b/src/ipaddr/ng_ipaddr.c
index bbfb5a73..3b0595d7 100644
--- a/src/ipaddr/ng_ipaddr.c
+++ b/src/ipaddr/ng_ipaddr.c
@@ -14,9 +14,6 @@
 #include <netdb.h>
 #include <sys/types.h>
 #endif
-#include <sys/socket.h>
-
-#include <netinet/in.h>
 
 #include "ng_ipaddr.h"