git.samba.org
/
samba.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5856ab8
)
s3: Fix the pthreadpool build on OS/X
author
Volker Lendecke
<vl@samba.org>
Mon, 9 Apr 2012 07:17:29 +0000
(09:17 +0200)
committer
Volker 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
patch
|
blob
|
history
diff --git
a/source3/lib/pthreadpool/pthreadpool.c
b/source3/lib/pthreadpool/pthreadpool.c
index fffbd050dffdf5f398c49d7343acc24c7bda9bd7..04303776a2fec11572f4a99ae66d08de7b27f952 100644
(file)
--- 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"