lib: Use replace.h properly in pthreadpool
authorVolker Lendecke <vl@samba.org>
Sun, 31 Jul 2016 05:42:21 +0000 (07:42 +0200)
committerJeremy Allison <jra@samba.org>
Fri, 12 Aug 2016 02:26:09 +0000 (04:26 +0200)
Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
Autobuild-User(master): Jeremy Allison <jra@samba.org>
Autobuild-Date(master): Fri Aug 12 04:26:09 CEST 2016 on sn-devel-144

source3/lib/pthreadpool/pthreadpool.c

index 4b745e44c7ffedc202be0175c0ccf19040cdc5fd..917bafa82fe4579a2c39243be5dcbc1459550aa0 100644 (file)
  * along with this program.  If not, see <http://www.gnu.org/licenses/>.
  */
 
-#include "config.h"
-#include <errno.h>
-#include <stdio.h>
-#include <stdlib.h>
-#include <string.h>
-#include <pthread.h>
-#include <signal.h>
-#include <assert.h>
-#include <fcntl.h>
+#include "replace.h"
 #include "system/time.h"
 #include "system/filesys.h"
-#include "replace.h"
-
 #include "pthreadpool.h"
 #include "lib/util/dlinklist.h"
+#include "system/threads.h"
+#include <assert.h>
 
 struct pthreadpool_job {
        int id;