mirror of
				https://github.com/osmarks/ngircd.git
				synced 2025-10-31 05:52:59 +00:00 
			
		
		
		
	On AIX (for example) socklen_t is defined in sys/socket.h
On AIX and probably other systems socklen_t is defined in sys/socket.h, so we have to include it here explicitly (tested by Florian).
This commit is contained in:
		| @@ -8,6 +8,8 @@ | |||||||
| #define NG_IPADDR_HDR | #define NG_IPADDR_HDR | ||||||
| #include "portab.h" | #include "portab.h" | ||||||
|  |  | ||||||
|  | #include <sys/socket.h> | ||||||
|  |  | ||||||
| #ifdef HAVE_ARPA_INET_H | #ifdef HAVE_ARPA_INET_H | ||||||
| # include <arpa/inet.h> | # include <arpa/inet.h> | ||||||
| #else | #else | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user
	 Alexander Barton
					Alexander Barton