mirror of
https://github.com/osmarks/ngircd.git
synced 2025-03-12 12:08:12 +00:00
Fix complie on FreeBSD 5.4 and AIX.
This is picked from commits d9c26f3aeb35e979b72f7b0ac4220dbd07d7bc15 "ng_ipaddr.h must include netinet/in.h." and 4e507881f30c8b4296d87de519658e45f8cb417f "On AIX (for example) socklen_t is defined in sys/socket.h"
This commit is contained in:
parent
2e0c62df91
commit
fc93044909
@ -14,9 +14,6 @@
|
||||
#include <netdb.h>
|
||||
#include <sys/types.h>
|
||||
#endif
|
||||
#include <sys/socket.h>
|
||||
|
||||
#include <netinet/in.h>
|
||||
|
||||
#include "ng_ipaddr.h"
|
||||
|
||||
|
@ -8,6 +8,9 @@
|
||||
#define NG_IPADDR_HDR
|
||||
#include "portab.h"
|
||||
|
||||
#include <sys/socket.h>
|
||||
#include <netinet/in.h>
|
||||
|
||||
#ifdef HAVE_ARPA_INET_H
|
||||
# include <arpa/inet.h>
|
||||
#else
|
||||
|
Loading…
x
Reference in New Issue
Block a user