include linux/sched.h to compile on systems with older libc

This commit is contained in:
Nikos Mavrogiannopoulos
2015-01-15 09:55:51 +01:00
parent 8b65df1ce3
commit 65a4646d2f
2 changed files with 3 additions and 1 deletions

View File

@@ -22,6 +22,7 @@
#ifdef __linux__
# include <sys/prctl.h>
# include <sched.h>
# include <linux/sched.h>
# include <sys/syscall.h>
#endif
#include <sys/types.h>