#include <sys/wait.h> if were using waitpid
authorArran Cudbard-Bell <a.cudbardb@freeradius.org>
Fri, 20 Dec 2013 00:09:37 +0000 (00:09 +0000)
committerArran Cudbard-Bell <a.cudbardb@freeradius.org>
Fri, 20 Dec 2013 00:09:37 +0000 (00:09 +0000)
src/include/radiusd.h

index aa26347..5399856 100644 (file)
@@ -39,7 +39,9 @@ typedef struct request REQUEST;
 #include <freeradius-devel/log.h>
 
 #ifdef HAVE_PTHREAD_H
-#include       <pthread.h>
+#  include <pthread.h>
+#else
+#  include <sys/wait.h>
 #endif
 
 #ifdef HAVE_PCREPOSIX_H