mirror of
https://github.com/cuberite/libevent.git
synced 2025-09-10 21:10:06 -04:00
Include arpa/inet.h as needed on HPUX
This commit is contained in:
parent
63a715e125
commit
10c834c4df
3
http.c
3
http.c
@ -56,6 +56,9 @@
|
|||||||
#ifdef _EVENT_HAVE_NETINET_IN_H
|
#ifdef _EVENT_HAVE_NETINET_IN_H
|
||||||
#include <netinet/in.h>
|
#include <netinet/in.h>
|
||||||
#endif
|
#endif
|
||||||
|
#ifdef _EVENT_HAVE_ARPA_INET_H
|
||||||
|
#include <arpa/inet.h>
|
||||||
|
#endif
|
||||||
#ifdef _EVENT_HAVE_NETDB_H
|
#ifdef _EVENT_HAVE_NETDB_H
|
||||||
#include <netdb.h>
|
#include <netdb.h>
|
||||||
#endif
|
#endif
|
||||||
|
@ -13,6 +13,9 @@
|
|||||||
#include <signal.h>
|
#include <signal.h>
|
||||||
#ifndef WIN32
|
#ifndef WIN32
|
||||||
#include <netinet/in.h>
|
#include <netinet/in.h>
|
||||||
|
# ifdef _XOPEN_SOURCE_EXTENDED
|
||||||
|
# include <arpa/inet.h>
|
||||||
|
# endif
|
||||||
#include <sys/socket.h>
|
#include <sys/socket.h>
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
@ -36,6 +36,9 @@
|
|||||||
|
|
||||||
#ifdef _EVENT_HAVE_NETINET_IN_H
|
#ifdef _EVENT_HAVE_NETINET_IN_H
|
||||||
#include <netinet/in.h>
|
#include <netinet/in.h>
|
||||||
|
# ifdef _XOPEN_SOURCE_EXTENDED
|
||||||
|
# include <arpa/inet.h>
|
||||||
|
# endif
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifdef WIN32
|
#ifdef WIN32
|
||||||
|
@ -31,6 +31,9 @@
|
|||||||
#else
|
#else
|
||||||
#include <sys/socket.h>
|
#include <sys/socket.h>
|
||||||
#include <netinet/in.h>
|
#include <netinet/in.h>
|
||||||
|
# ifdef _XOPEN_SOURCE_EXTENDED
|
||||||
|
# include <arpa/inet.h>
|
||||||
|
# endif
|
||||||
#endif
|
#endif
|
||||||
#include <stdlib.h>
|
#include <stdlib.h>
|
||||||
#include <errno.h>
|
#include <errno.h>
|
||||||
|
@ -34,6 +34,9 @@
|
|||||||
#ifndef WIN32
|
#ifndef WIN32
|
||||||
#include <sys/socket.h>
|
#include <sys/socket.h>
|
||||||
#include <netinet/in.h>
|
#include <netinet/in.h>
|
||||||
|
# ifdef _XOPEN_SOURCE_EXTENDED
|
||||||
|
# include <arpa/inet.h>
|
||||||
|
# endif
|
||||||
#include <unistd.h>
|
#include <unistd.h>
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
@ -36,6 +36,9 @@
|
|||||||
#else
|
#else
|
||||||
#include <sys/socket.h>
|
#include <sys/socket.h>
|
||||||
#include <netinet/in.h>
|
#include <netinet/in.h>
|
||||||
|
# ifdef _XOPEN_SOURCE_EXTENDED
|
||||||
|
# include <arpa/inet.h>
|
||||||
|
# endif
|
||||||
#endif
|
#endif
|
||||||
#include <signal.h>
|
#include <signal.h>
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user