mirror of
https://github.com/osmarks/ngircd.git
synced 2024-12-12 09:50:29 +00:00
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.
This commit is contained in:
parent
0510bbe958
commit
d9c26f3aeb
@ -14,9 +14,6 @@
|
||||
#include <netdb.h>
|
||||
#include <sys/types.h>
|
||||
#endif
|
||||
#include <sys/socket.h>
|
||||
|
||||
#include <netinet/in.h>
|
||||
|
||||
#include "ng_ipaddr.h"
|
||||
|
||||
|
@ -9,6 +9,7 @@
|
||||
#include "portab.h"
|
||||
|
||||
#include <sys/socket.h>
|
||||
#include <netinet/in.h>
|
||||
|
||||
#ifdef HAVE_ARPA_INET_H
|
||||
# include <arpa/inet.h>
|
||||
@ -115,3 +116,4 @@ ng_ipaddr_tostr_r(const ng_ipaddr_t *addr, char *d)
|
||||
#endif
|
||||
|
||||
/* -eof- */
|
||||
|
||||
|
@ -20,7 +20,6 @@
|
||||
#include "array.h"
|
||||
#include "tool.h"
|
||||
#include "ng_ipaddr.h"
|
||||
#include <netinet/in.h>
|
||||
|
||||
/* This struct must not be accessed directly */
|
||||
typedef struct _Res_Stat {
|
||||
|
Loading…
Reference in New Issue
Block a user