summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJulien Cristau <jcristau@debian.org>2011-09-08 22:11:15 +0200
committerJulien Cristau <jcristau@debian.org>2011-09-08 22:13:34 +0200
commit45cc81cd7abafe61bddb3ddce9f4fb8a9aa06c12 (patch)
treefd7e8796536d03873237b753a0ee3ac61cc9b184
parent727706ffda344a1a752df296cd230ff3fb3940a5 (diff)
downloadxorg-app-xinit-45cc81cd7abafe61bddb3ddce9f4fb8a9aa06c12.tar.gz
Include <sys/time.h> and <sys/resource.h> unconditionally
Suggested by Mark Kettenis. X.Org bug#40632 <https://bugs.freedesktop.org/show_bug.cgi?id=40632> Signed-off-by: Julien Cristau <jcristau@debian.org>
-rw-r--r--xinit.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/xinit.c b/xinit.c
index 42ff008..2ab817f 100644
--- a/xinit.c
+++ b/xinit.c
@@ -49,10 +49,8 @@ in this Software without prior written authorization from The Open Group.
#endif
/* For PRIO_PROCESS and setpriority() */
-#ifdef __DragonFly__
#include <sys/time.h>
#include <sys/resource.h>
-#endif /* __DragonFly__ */
#include <stdlib.h>