summaryrefslogtreecommitdiff
path: root/buildtools
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2010-03-23 09:34:44 +1100
committerAndrew Tridgell <tridge@samba.org>2010-04-06 20:27:01 +1000
commit8e7922e10c0e3c7500477bd9ab2d7c28fcc81d51 (patch)
tree89f74fbdd1bde1fba290208cd92a301d2a65ace1 /buildtools
parent00649a9c6266f959dbc7d857180e43f2b1363844 (diff)
downloadsamba-8e7922e10c0e3c7500477bd9ab2d7c28fcc81d51.tar.gz
samba-8e7922e10c0e3c7500477bd9ab2d7c28fcc81d51.tar.bz2
samba-8e7922e10c0e3c7500477bd9ab2d7c28fcc81d51.zip
build: fixed headers for C prototype check
Diffstat (limited to 'buildtools')
-rw-r--r--buildtools/wafsamba/samba_autoconf.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/buildtools/wafsamba/samba_autoconf.py b/buildtools/wafsamba/samba_autoconf.py
index 86f36a5f39..b5da80f3a6 100644
--- a/buildtools/wafsamba/samba_autoconf.py
+++ b/buildtools/wafsamba/samba_autoconf.py
@@ -427,6 +427,7 @@ def CHECK_C_PROTOTYPE(conf, function, prototype, define, headers=None):
return conf.CHECK_CODE('%s; void *_x = (void *)%s' % (prototype, function),
define=define,
local_include=False,
+ headers=headers,
msg='Checking C prototype for %s' % function)