Commit 5d1975c4 authored by KO Myung-Hun's avatar KO Myung-Hun Committed by Rémi Denis-Courmont

Include 'sched.h' only if available

Some systems such as OS/2 does not have 'sched.h'.
Signed-off-by: default avatarRémi Denis-Courmont <remi@remlab.net>
parent 16ea90d7
...@@ -34,7 +34,9 @@ ...@@ -34,7 +34,9 @@
#include <sys/socket.h> #include <sys/socket.h>
#include <sys/uio.h> #include <sys/uio.h>
#include <sys/resource.h> /* getrlimit() */ #include <sys/resource.h> /* getrlimit() */
#ifdef RLIMIT_RTPRIO
#include <sched.h> #include <sched.h>
#endif
#include <errno.h> #include <errno.h>
#include <netinet/in.h> #include <netinet/in.h>
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment