diff options
author | David Shao <davshao@gmail.com> | 2010-05-21 12:44:53 -0700 |
---|---|---|
committer | Alan Coopersmith <alan.coopersmith@oracle.com> | 2010-06-11 18:14:40 -0700 |
commit | 908273df8c0a7a13ff20e4ed4b7b470521f12ce2 (patch) | |
tree | 519b3ac4e02aeda7607ac6d245abe260a95552c7 | |
parent | 8464a8ab360b72f6817b19ce99b12f0793fbee74 (diff) |
DragonFly BSD: includes for PRIO_PROCESS and setpriority() in xinit.c
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
-rw-r--r-- | xinit.c | 6 |
1 files changed, 6 insertions, 0 deletions
@@ -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 |