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:
Vincent Torri 2012-06-19 15:56:44 +00:00
parent 2da0f8d0ac
commit 059ac47170
2 changed files with 5 additions and 1 deletions

View File

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

View File

@ -20,6 +20,10 @@
# include <arpa/inet.h>
#endif
#ifdef HAVE_ERRNO_H
# include <errno.h>
#endif
#include "dns.h"
#include "Ecore.h"