summaryrefslogtreecommitdiff
path: root/source3/lib/pthreadpool
diff options
context:
space:
mode:
authorAndrew Bartlett <abartlet@samba.org>2011-09-20 18:19:58 -0700
committerAndrew Bartlett <abartlet@samba.org>2011-09-23 10:58:02 +0200
commit2a789c8442ce730cac112eeb89c7eb497bb5cc15 (patch)
treeee06d2ced75dea5309da59e6e96116e69c4c546f /source3/lib/pthreadpool
parentd40fe50a6755ab701f2fe8a434f1d3331769a4c0 (diff)
downloadsamba-2a789c8442ce730cac112eeb89c7eb497bb5cc15.tar.gz
samba-2a789c8442ce730cac112eeb89c7eb497bb5cc15.tar.bz2
samba-2a789c8442ce730cac112eeb89c7eb497bb5cc15.zip
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 <abartlet@samba.org> Autobuild-Date: Fri Sep 23 10:58:02 CEST 2011 on sn-devel-104
Diffstat (limited to 'source3/lib/pthreadpool')
-rw-r--r--source3/lib/pthreadpool/pthreadpool.c3
1 files changed, 2 insertions, 1 deletions
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 <http://www.gnu.org/licenses/>.
*/
+#include "config.h"
#include <errno.h>
#include <stdio.h>
#include <unistd.h>
@@ -26,7 +27,7 @@
#include <signal.h>
#include <assert.h>
#include <fcntl.h>
-#include <sys/time.h>
+#include "system/time.h"
#include "pthreadpool.h"
#include "lib/util/dlinklist.h"