diff options
| -rw-r--r-- | polyp/util.c | 5 | 
1 files changed, 4 insertions, 1 deletions
| diff --git a/polyp/util.c b/polyp/util.c index 67eaeda1..a05e601d 100644 --- a/polyp/util.c +++ b/polyp/util.c @@ -37,11 +37,14 @@  #include <signal.h>  #include <pthread.h>  #include <sys/time.h> -#include <sched.h>  #include <sys/resource.h>  #include <limits.h>  #include <unistd.h> +#ifdef HAVE_SCHED_H +#include <sched.h> +#endif +  #ifdef HAVE_NETDB_H  #include <netdb.h>  #endif | 
