ecore_con: fix compilation on Windows
authorcaro <caro@7cbeb6ba-43b4-40fd-8cce-4c39aea84d33>
Fri, 20 Jul 2012 11:05:25 +0000 (11:05 +0000)
committercaro <caro@7cbeb6ba-43b4-40fd-8cce-4c39aea84d33>
Fri, 20 Jul 2012 11:05:25 +0000 (11:05 +0000)
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/ecore@74240 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

src/lib/ecore_con/ecore_con_dns.c

index 979163f..3671576 100644 (file)
 #include <string.h>
 #include <sys/types.h>
 
+#ifdef HAVE_ERRNO_H
+# include <errno.h> /* for EAGAIN */
+#endif
+
 #ifdef HAVE_NETINET_IN_H
 # include <netinet/in.h>
 #endif