Module Name: xsrc
Committed By: mrg
Date: Sun Nov 21 03:53:11 UTC 2010
Modified Files:
xsrc/external/mit/xinit/dist: xinit.c
Log Message:
include sys/resource.h on netbsd, too.
To generate a diff of this commit:
cvs rdiff -u -r1.1.1.4 -r1.2 xsrc/external/mit/xinit/dist/xinit.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: xsrc/external/mit/xinit/dist/xinit.c
diff -u xsrc/external/mit/xinit/dist/xinit.c:1.1.1.4 xsrc/external/mit/xinit/dist/xinit.c:1.2
--- xsrc/external/mit/xinit/dist/xinit.c:1.1.1.4 Sun Nov 21 03:47:48 2010
+++ xsrc/external/mit/xinit/dist/xinit.c Sun Nov 21 03:53:10 2010
@@ -49,7 +49,7 @@
#endif
/* For PRIO_PROCESS and setpriority() */
-#ifdef __DragonFly__
+#if defined(__DragonFly__) || defined(__NetBSD__)
#include <sys/time.h>
#include <sys/resource.h>
#endif /* __DragonFly__ */