commit d9c26f3aeb35e979b72f7b0ac4220dbd07d7bc15 from: Florian Westphal date: Sat May 10 19:49:51 2008 UTC 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. commit - 0510bbe958c12ce7990dbc533b41a650678a10f6 commit + d9c26f3aeb35e979b72f7b0ac4220dbd07d7bc15 blob - bbfb5a73741f3eab1d0eb69ec31a406770322eed blob + 3b0595d79719b92b13edfd0f4a5422311f1ff550 --- src/ipaddr/ng_ipaddr.c +++ src/ipaddr/ng_ipaddr.c @@ -14,10 +14,7 @@ #include #include #endif -#include -#include - #include "ng_ipaddr.h" GLOBAL bool blob - 32839d083a8ab1e7328864ee2e376805ac890e6e blob + 7894af25fbebefdb22f24adac1afe9a9dcb639b6 --- src/ipaddr/ng_ipaddr.h +++ src/ipaddr/ng_ipaddr.h @@ -9,6 +9,7 @@ #include "portab.h" #include +#include #ifdef HAVE_ARPA_INET_H # include @@ -115,3 +116,4 @@ ng_ipaddr_tostr_r(const ng_ipaddr_t *addr, char *d) #endif /* -eof- */ + blob - 9fd16bee645bebac9980732cccc76d9e92a3906b blob + 8ff88c8b128ff8398b374c2f5dd78403818aece5 --- src/ngircd/resolve.h +++ src/ngircd/resolve.h @@ -20,7 +20,6 @@ #include "array.h" #include "tool.h" #include "ng_ipaddr.h" -#include /* This struct must not be accessed directly */ typedef struct _Res_Stat {