$OpenBSD: patch-buildtools_wafsamba_wscript,v 1.2 2016/04/22 11:48:36 jca Exp $
Add a hack to force addition of -I/usr/include before any other include path discovered.
--- buildtools/wafsamba/wscript.orig	Wed Apr 13 17:18:35 2016
+++ buildtools/wafsamba/wscript	Wed Apr 13 17:18:35 2016
@@ -82,6 +82,11 @@ def set_options(opt):
                    help=("Disable use of gettext"),
                    action="store_true", dest='disable_gettext', default=False)
 
+    opt.add_option('--with-dummy',
+                   help='dummy option to inject /usr/include',
+                   action='store', dest='libc_location', default='/usr',
+                   match = ['Checking for header sys/types.h'])
+
     gr = opt.option_group('developer options')
 
     gr.add_option('-C',
