Ecore: warning: implicit declaration of functions 'getpid' and 'usleep' on OpenBSD
authorcaro <caro@7cbeb6ba-43b4-40fd-8cce-4c39aea84d33>
Mon, 14 Nov 2011 22:29:46 +0000 (22:29 +0000)
committercaro <caro@7cbeb6ba-43b4-40fd-8cce-4c39aea84d33>
Mon, 14 Nov 2011 22:29:46 +0000 (22:29 +0000)
Patch by Fabien Romano from OpenBSD

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

src/lib/ecore/ecore_thread.c

index 8592d3a..6502ec2 100644 (file)
@@ -4,6 +4,8 @@
 
 #include <sys/time.h>
 #include <assert.h>
+#include <sys/types.h>
+#include <unistd.h>
 
 #ifdef HAVE_EVIL
 # include <Evil.h>