mirror of
https://github.com/osmarks/ngircd.git
synced 2025-11-10 02:33:01 +00:00
Fix complie on FreeBSD 5.4 and AIX.
This is picked from commitsd9c26f3aeb"ng_ipaddr.h must include netinet/in.h." and4e507881f3"On AIX (for example) socklen_t is defined in sys/socket.h"
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user