build: fixed headers for C prototype check
authorAndrew Tridgell <tridge@samba.org>
Mon, 22 Mar 2010 22:34:44 +0000 (09:34 +1100)
committerAndrew Tridgell <tridge@samba.org>
Tue, 6 Apr 2010 10:27:01 +0000 (20:27 +1000)
buildtools/wafsamba/samba_autoconf.py

index 86f36a5f39425169b3e52fe4aa6f8ed4a1063b3d..b5da80f3a6a2a4531b22a8f5bbbd8a486b8b7f39 100644 (file)
@@ -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)