setpriority needs sys/resource.h. See:
http://linux.die.net/man/2/setpriority
I let sys/time.h, it does not hurt on linux and is anyway needed for BSD systems.
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/ecore@72684
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
an implicit requirement that the window had keyboard focus to retrieve
a timestamp that wasn't used. This removes that requirement and fixes
ticket #1030.
+
+2012-06-22 Vincent Torri
+
+ * ecore_exe: fix compilation on fedora 18.
# include <config.h>
#endif
-#if defined (__FreeBSD__) || defined (__OpenBSD__) || defined (__NetBSD__)
-# include <sys/time.h>
-# include <sys/resource.h>
-#endif
-
#include <stdlib.h>
#include <stdio.h>
#include <string.h>
#include <sys/types.h>
#include <unistd.h>
#include <fcntl.h>
+#include <sys/time.h>
+#include <sys/resource.h>
#ifdef HAVE_SYS_PRCTL_H
# include <sys/prctl.h>