summaryrefslogtreecommitdiff
path: root/xinit.c
diff options
context:
space:
mode:
authorDavid Shao <davshao@gmail.com>2010-05-21 12:44:53 -0700
committerAlan Coopersmith <alan.coopersmith@oracle.com>2010-06-11 18:14:40 -0700
commit908273df8c0a7a13ff20e4ed4b7b470521f12ce2 (patch)
tree519b3ac4e02aeda7607ac6d245abe260a95552c7 /xinit.c
parent8464a8ab360b72f6817b19ce99b12f0793fbee74 (diff)
downloadxorg-app-xinit-908273df8c0a7a13ff20e4ed4b7b470521f12ce2.tar.gz
DragonFly BSD: includes for PRIO_PROCESS and setpriority() in xinit.c
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
Diffstat (limited to 'xinit.c')
-rw-r--r--xinit.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/xinit.c b/xinit.c
index 313806e..0d31637 100644
--- a/xinit.c
+++ b/xinit.c
@@ -48,6 +48,12 @@ in this Software without prior written authorization from The Open Group.
#endif
#endif
+/* For PRIO_PROCESS and setpriority() */
+#ifdef __DragonFly__
+#include <sys/time.h>
+#include <sys/resource.h>
+#endif /* __DragonFly__ */
+
#include <stdlib.h>
#ifndef SHELL