OpenBSD's netinet/in.h does not include sys/types.h (directly or not)
authorcaro <caro@7cbeb6ba-43b4-40fd-8cce-4c39aea84d33>
Wed, 13 Jan 2010 06:46:15 +0000 (06:46 +0000)
committercaro <caro@7cbeb6ba-43b4-40fd-8cce-4c39aea84d33>
Wed, 13 Jan 2010 06:46:15 +0000 (06:46 +0000)
Thanks to Laurent Ghigonis

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/ecore@45078 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

src/lib/ecore_ipc/ecore_ipc.c

index 3e6c027..5753789 100644 (file)
@@ -9,6 +9,7 @@
 #include <string.h>
 
 #ifdef HAVE_NETINET_IN_H
+# include <sys/types.h>
 # include <netinet/in.h>
 #endif