diff options
author | Pierre Ossman <ossman@cendio.se> | 2006-01-05 22:40:45 +0000 |
---|---|---|
committer | Pierre Ossman <ossman@cendio.se> | 2006-01-05 22:40:45 +0000 |
commit | 67833c2bcf1019f48df2cbabd654c67a6d4b7fef (patch) | |
tree | 573ee577439f125dee034b36d3934cfe0fd14a0a | |
parent | 57dccd259269003aace56bbb8a1a24dad42f10f2 (diff) |
Protect sched.h with ifdef.
git-svn-id: file:///home/lennart/svn/public/pulseaudio/branches/ossman@415 fefdeb5f-60dc-0310-8127-8f9354f1896f
-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 |