1
0
mirror of https://github.com/osmarks/ngircd.git synced 2025-03-12 20:18:11 +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:
Florian Westphal 2008-05-10 21:53:39 +02:00
parent 2e0c62df91
commit fc93044909
2 changed files with 3 additions and 3 deletions

View File

@ -14,9 +14,6 @@
#include <netdb.h>
#include <sys/types.h>
#endif
#include <sys/socket.h>
#include <netinet/in.h>
#include "ng_ipaddr.h"

View File

@ -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