From 2a789c8442ce730cac112eeb89c7eb497bb5cc15 Mon Sep 17 00:00:00 2001 From: Andrew Bartlett Date: Tue, 20 Sep 2011 18:19:58 -0700 Subject: build: Fix waf build on MacOS X The -framework CoreFoundation is required by the charset_macosxfs module The system/time.h header is required to access the replacement clock_gettime() Andrew Bartlett Autobuild-User: Andrew Bartlett Autobuild-Date: Fri Sep 23 10:58:02 CEST 2011 on sn-devel-104 --- source3/lib/pthreadpool/pthreadpool.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'source3/lib') diff --git a/source3/lib/pthreadpool/pthreadpool.c b/source3/lib/pthreadpool/pthreadpool.c index 9981ed25ae..42b550d7ed 100644 --- a/source3/lib/pthreadpool/pthreadpool.c +++ b/source3/lib/pthreadpool/pthreadpool.c @@ -17,6 +17,7 @@ * along with this program. If not, see . */ +#include "config.h" #include #include #include @@ -26,7 +27,7 @@ #include #include #include -#include +#include "system/time.h" #include "pthreadpool.h" #include "lib/util/dlinklist.h" -- cgit