fix compilation of programs using ecore on FreeBSD
authorcaro <caro@7cbeb6ba-43b4-40fd-8cce-4c39aea84d33>
Tue, 28 Jul 2009 09:57:24 +0000 (09:57 +0000)
committercaro <caro@7cbeb6ba-43b4-40fd-8cce-4c39aea84d33>
Tue, 28 Jul 2009 09:57:24 +0000 (09:57 +0000)
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/ecore@41524 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

src/lib/ecore/Ecore.h

index 06f5cee..461a42b 100644 (file)
@@ -51,6 +51,8 @@
 
 #ifdef _WIN32
 # include <winsock2.h>
+#elif defined (__FreeBSD__) && (__FreeBSD_version >= 420001)
+# include <select.h>
 #else
 # include <sys/types.h>
 # include <sys/time.h>