commit | d016f819f171d1ef07d4033e70dd7819c719a84f | [log] [tgz] |
---|---|---|
author | Patrik Stridvall <ps@leissner.se> | Sat Aug 17 00:43:16 2002 +0000 |
committer | Alexandre Julliard <julliard@winehq.org> | Sat Aug 17 00:43:16 2002 +0000 |
tree | 3fde130f03d05827c64aa84acd1c1cdbc4eb0817 | |
parent | 368fab14325d901aed01f094bcb0b67ed796e57b [diff] [blame] |
Added include protection for unistd.h and sys/time.h.
diff --git a/scheduler/sysdeps.c b/scheduler/sysdeps.c index 06170db..f00b4fd 100644 --- a/scheduler/sysdeps.c +++ b/scheduler/sysdeps.c
@@ -23,8 +23,12 @@ #include <signal.h> #include <stdio.h> -#include <unistd.h> -#include <sys/time.h> +#ifdef HAVE_UNISTD_H +# include <unistd.h> +#endif +#ifdef HAVE_SYS_TIME_H +# include <sys/time.h> +#endif #ifdef HAVE_SYS_SYSCALL_H # include <sys/syscall.h> #endif