Protect pthread.h with an ifdef.

git-svn-id: file:///home/lennart/svn/public/pulseaudio/branches/ossman@417 fefdeb5f-60dc-0310-8127-8f9354f1896f
This commit is contained in:
Pierre Ossman 2006-01-05 22:44:23 +00:00
parent bdc02f71f5
commit 2f74bb9d43

View file

@ -35,7 +35,6 @@
#include <sys/types.h>
#include <sys/stat.h>
#include <signal.h>
#include <pthread.h>
#include <sys/time.h>
#include <limits.h>
#include <unistd.h>
@ -48,6 +47,10 @@
#include <sys/resource.h>
#endif
#ifdef HAVE_PTHREAD
#include <pthread.h>
#endif
#ifdef HAVE_NETDB_H
#include <netdb.h>
#endif