forked from enlightenment/efl
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. SVN revision: 72684
This commit is contained in:
parent
550d327100
commit
f33b8d7fc2
|
@ -763,3 +763,7 @@
|
||||||
an implicit requirement that the window had keyboard focus to retrieve
|
an implicit requirement that the window had keyboard focus to retrieve
|
||||||
a timestamp that wasn't used. This removes that requirement and fixes
|
a timestamp that wasn't used. This removes that requirement and fixes
|
||||||
ticket #1030.
|
ticket #1030.
|
||||||
|
|
||||||
|
2012-06-22 Vincent Torri
|
||||||
|
|
||||||
|
* ecore_exe: fix compilation on fedora 18.
|
||||||
|
|
|
@ -2,11 +2,6 @@
|
||||||
# include <config.h>
|
# include <config.h>
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#if defined (__FreeBSD__) || defined (__OpenBSD__) || defined (__NetBSD__)
|
|
||||||
# include <sys/time.h>
|
|
||||||
# include <sys/resource.h>
|
|
||||||
#endif
|
|
||||||
|
|
||||||
#include <stdlib.h>
|
#include <stdlib.h>
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
#include <string.h>
|
#include <string.h>
|
||||||
|
@ -14,6 +9,8 @@
|
||||||
#include <sys/types.h>
|
#include <sys/types.h>
|
||||||
#include <unistd.h>
|
#include <unistd.h>
|
||||||
#include <fcntl.h>
|
#include <fcntl.h>
|
||||||
|
#include <sys/time.h>
|
||||||
|
#include <sys/resource.h>
|
||||||
|
|
||||||
#ifdef HAVE_SYS_PRCTL_H
|
#ifdef HAVE_SYS_PRCTL_H
|
||||||
# include <sys/prctl.h>
|
# include <sys/prctl.h>
|
||||||
|
|
Loading…
Reference in New Issue