s3: Fix the pthreadpool build on OS/X
authorVolker Lendecke <vl@samba.org>
Mon, 9 Apr 2012 07:17:29 +0000 (09:17 +0200)
committerVolker Lendecke <vl@samba.org>
Mon, 9 Apr 2012 16:05:02 +0000 (18:05 +0200)
OS/X does not have clock_gettime, and without replace.h we do not
get the replacement macro

source3/lib/pthreadpool/pthreadpool.c

index fffbd050dffdf5f398c49d7343acc24c7bda9bd7..04303776a2fec11572f4a99ae66d08de7b27f952 100644 (file)
@@ -28,6 +28,7 @@
 #include <fcntl.h>
 #include "system/time.h"
 #include "system/filesys.h"
+#include "replace.h"
 
 #include "pthreadpool.h"
 #include "lib/util/dlinklist.h"