aboutsummaryrefslogtreecommitdiff
path: root/x11/xinit/files
diff options
context:
space:
mode:
Diffstat (limited to 'x11/xinit/files')
-rw-r--r--x11/xinit/files/patch-xinit.c15
1 files changed, 15 insertions, 0 deletions
diff --git a/x11/xinit/files/patch-xinit.c b/x11/xinit/files/patch-xinit.c
new file mode 100644
index 000000000000..abe8803b8282
--- /dev/null
+++ b/x11/xinit/files/patch-xinit.c
@@ -0,0 +1,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>
+