summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVolker Lendecke <vl@samba.org>2012-04-09 09:17:29 +0200
committerVolker Lendecke <vl@samba.org>2012-04-09 18:05:02 +0200
commit8a907c9c6563d9b1df35d31390bd07f76758773c (patch)
treefaa299277fa994926a0acd8cacc832ee7ac20ae9
parent5856ab89fa2f5736af641bc05102ad47390e84b7 (diff)
downloadsamba-8a907c9c6563d9b1df35d31390bd07f76758773c.tar.gz
s3: Fix the pthreadpool build on OS/X
OS/X does not have clock_gettime, and without replace.h we do not get the replacement macro
-rw-r--r--source3/lib/pthreadpool/pthreadpool.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/source3/lib/pthreadpool/pthreadpool.c b/source3/lib/pthreadpool/pthreadpool.c
index fffbd050dff..04303776a2f 100644
--- a/source3/lib/pthreadpool/pthreadpool.c
+++ b/source3/lib/pthreadpool/pthreadpool.c
@@ -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"