xinit
authordavshao <davshao@web>
Fri, 21 May 2010 19:51:25 +0000 (12:51 -0700)
committerCharlie <root@leaf.dragonflybsd.org>
Fri, 21 May 2010 19:51:25 +0000 (12:51 -0700)
docs/developer/GEMdrmKMS/index.mdwn

index 63fac2a..5c398e6 100644 (file)
@@ -290,4 +290,23 @@ Corrected using the *autogen.sh* flag:
 
     --disable-devel-docs
 
+### xinit
+
+    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