forked from enlightenment/efl
Ecore_con: fix compilation on Windows
ecore_con_dns.c is using EAGAIN. On linux, errno.h is certainly indirectly included by other header files, it's not the case on Windows. SVN revision: 72489
This commit is contained in:
parent
2da0f8d0ac
commit
059ac47170
|
@ -1248,7 +1248,7 @@ AC_CHECK_HEADERS([net/if.h], [], [],
|
|||
# include <sys/socket.h>
|
||||
#endif
|
||||
])
|
||||
AC_CHECK_HEADERS([sys/un.h arpa/inet.h arpa/nameser.h netinet/tcp.h netinet/in.h ws2tcpip.h netdb.h])
|
||||
AC_CHECK_HEADERS([sys/un.h arpa/inet.h arpa/nameser.h netinet/tcp.h netinet/in.h ws2tcpip.h netdb.h errno.h])
|
||||
|
||||
if test "x${ac_cv_header_netdb_h}" = "xyes" ; then
|
||||
have_addrinfo="yes"
|
||||
|
|
|
@ -20,6 +20,10 @@
|
|||
# include <arpa/inet.h>
|
||||
#endif
|
||||
|
||||
#ifdef HAVE_ERRNO_H
|
||||
# include <errno.h>
|
||||
#endif
|
||||
|
||||
#include "dns.h"
|
||||
|
||||
#include "Ecore.h"
|
||||
|
|
Loading…
Reference in New Issue