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: Rémi Denis-Courmont's avatarRémi Denis-Courmont <remi@remlab.net>
parent 16ea90d7
......@@ -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>
......
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