summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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