s3:lib/pthreadpool: fix the build on older systems
authorStefan Metzmacher <metze@samba.org>
Fri, 12 Aug 2016 10:15:46 +0000 (12:15 +0200)
committerStefan Metzmacher <metze@samba.org>
Tue, 16 Aug 2016 17:09:55 +0000 (19:09 +0200)
Some systems required an explicit <signal.h>, which comes
via "system/wait.h"

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Volker Lendecke <vl@samba.org>
Autobuild-User(master): Stefan Metzmacher <metze@samba.org>
Autobuild-Date(master): Tue Aug 16 19:09:55 CEST 2016 on sn-devel-144

source3/lib/pthreadpool/pthreadpool.c

index 917bafa82fe4579a2c39243be5dcbc1459550aa0..b071e5393db5b20d86a6064a9465037f1956e3df 100644 (file)
 #include "replace.h"
 #include "system/time.h"
 #include "system/filesys.h"
+#include "system/wait.h"
+#include "system/threads.h"
 #include "pthreadpool.h"
 #include "lib/util/dlinklist.h"
-#include "system/threads.h"
 #include <assert.h>
 
 struct pthreadpool_job {