Protect some more headers for inclusion
This commit is contained in:
parent
a525734afc
commit
37a8000aa2
@ -35,9 +35,15 @@
|
|||||||
#ifndef WIN32
|
#ifndef WIN32
|
||||||
/* for inet_aton() IP validation
|
/* for inet_aton() IP validation
|
||||||
*/
|
*/
|
||||||
#include <sys/socket.h>
|
# if HAVE_SYS_SOCKET_H
|
||||||
#include <netinet/in.h>
|
# include <sys/socket.h>
|
||||||
#include <arpa/inet.h>
|
#endif
|
||||||
|
# if HAVE_NETINET_IN_H
|
||||||
|
# include <netinet/in.h>
|
||||||
|
# endif
|
||||||
|
# if HAVE_ARPA_INET_H
|
||||||
|
# include <arpa/inet.h>
|
||||||
|
# endif
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
/* Check for a FKO error returned by a function an return the error code */
|
/* Check for a FKO error returned by a function an return the error code */
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user