From: Volker Lendecke Date: Mon, 9 Apr 2012 07:17:29 +0000 (+0200) Subject: s3: Fix the pthreadpool build on OS/X X-Git-Tag: ldb-1.1.5~10 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=8a907c9c6563d9b1df35d31390bd07f76758773c;p=thirdparty%2Fsamba.git 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 --- 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 #include "system/time.h" #include "system/filesys.h" +#include "replace.h" #include "pthreadpool.h" #include "lib/util/dlinklist.h"