Fix compilation on OpenBSD (bug #251). Patch by eumel.
authorcaro <caro>
Sun, 22 Mar 2009 13:37:17 +0000 (13:37 +0000)
committercaro <caro@7cbeb6ba-43b4-40fd-8cce-4c39aea84d33>
Sun, 22 Mar 2009 13:37:17 +0000 (13:37 +0000)
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/eet@39626 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

src/lib/eet_image.c

index 200a3fd..1f89bcd 100644 (file)
@@ -24,6 +24,9 @@ void *alloca (size_t);
 #endif
 
 #ifdef HAVE_NETINET_IN_H
+# ifdef __OpenBSD__
+#  include <sys/types.h>
+# endif
 # include <netinet/in.h>
 #endif