Browse Source

Include 'sched.h' only if available

Some systems such as OS/2 does not have 'sched.h'.

Signed-off-by: Rémi Denis-Courmont <remi@remlab.net>
pull/2/head
KO Myung-Hun 16 years ago
committed by Rémi Denis-Courmont
parent
commit
5d1975c448
  1. 2
      bin/rootwrap.c

2
bin/rootwrap.c

@ -34,7 +34,9 @@
#include <sys/socket.h>
#include <sys/uio.h>
#include <sys/resource.h> /* getrlimit() */
#ifdef RLIMIT_RTPRIO
#include <sched.h>
#endif
#include <errno.h>
#include <netinet/in.h>

Loading…
Cancel
Save