summaryrefslogtreecommitdiff
path: root/source3/lib
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 /source3/lib
parent5856ab89fa2f5736af641bc05102ad47390e84b7 (diff)
downloadsamba-8a907c9c6563d9b1df35d31390bd07f76758773c.tar.gz
samba-8a907c9c6563d9b1df35d31390bd07f76758773c.tar.bz2
samba-8a907c9c6563d9b1df35d31390bd07f76758773c.zip
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
Diffstat (limited to 'source3/lib')
-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 fffbd050df..04303776a2 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"