aboutsummaryrefslogtreecommitdiff
path: root/x11/xinit/files/patch-xinit.c
diff options
context:
space:
mode:
authorEitan Adler <eadler@FreeBSD.org>2011-09-22 13:51:54 +0000
committerEitan Adler <eadler@FreeBSD.org>2011-09-22 13:51:54 +0000
commit05a4bd4ab2a977a5598474f9c8df8e4e16b1b67f (patch)
tree901e0f3589c05a04638e25b8ea01f3e0f3eb594f /x11/xinit/files/patch-xinit.c
parentabdec19d38d6f1e58e3cb18eecd96d181efdd048 (diff)
downloadports-05a4bd4ab2a977a5598474f9c8df8e4e16b1b67f.tar.gz
ports-05a4bd4ab2a977a5598474f9c8df8e4e16b1b67f.zip
Notes
Diffstat (limited to 'x11/xinit/files/patch-xinit.c')
-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>
+