summaryrefslogtreecommitdiffstats
path: root/x11/xinit/files/patch-xinit.c
blob: abe8803b8282dba6dfb71f861ff7863116374775 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
--- xinit.c.orig    2011-04-26 07:03:42.000000000 +0200
+++ xinit.c 2011-08-06 22:14:03.000000000 +0200
@@ -49,10 +49,10 @@
 #endif
 
 /* For PRIO_PROCESS and setpriority() */
-#ifdef __DragonFly__
+#if defined(__DragonFly__) || defined(__FreeBSD__)
 #include <sys/time.h>
 #include <sys/resource.h>
-#endif /* __DragonFly__ */
+#endif
 
 #include <stdlib.h>