From: caro Date: Fri, 22 Jun 2012 05:36:00 +0000 (+0000) Subject: ecore_exe: fix compilation on fedora 18. X-Git-Tag: 2.0_alpha~24^2~23 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=ae6a2e7a145dddc2c1218f81810be9893169ab7e;p=framework%2Fuifw%2Fecore.git ecore_exe: fix compilation on fedora 18. 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 --- diff --git a/ChangeLog b/ChangeLog index a306f75..549ad19 100644 --- a/ChangeLog +++ b/ChangeLog @@ -763,3 +763,7 @@ 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. diff --git a/src/lib/ecore/ecore_exe.c b/src/lib/ecore/ecore_exe.c index 7931a96..6db32a9 100644 --- a/src/lib/ecore/ecore_exe.c +++ b/src/lib/ecore/ecore_exe.c @@ -2,11 +2,6 @@ # include #endif -#if defined (__FreeBSD__) || defined (__OpenBSD__) || defined (__NetBSD__) -# include -# include -#endif - #include #include #include @@ -14,6 +9,8 @@ #include #include #include +#include +#include #ifdef HAVE_SYS_PRCTL_H # include