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.
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/ecore@72489
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
# 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"
# include <arpa/inet.h>
#endif
+#ifdef HAVE_ERRNO_H
+# include <errno.h>
+#endif
+
#include "dns.h"
#include "Ecore.h"