build: mark some private includes as OK in public headers
authorAndrew Tridgell <tridge@samba.org>
Thu, 3 Mar 2011 05:34:57 +0000 (16:34 +1100)
committerAndrew Tridgell <tridge@samba.org>
Tue, 15 Mar 2011 01:22:19 +0000 (12:22 +1100)
these are includes which are protected by #ifdefs which means they
don't get exposed to public users

wscript_build

index 9c60450a9a7e108a6c3e5757c03f6a617f5c6f0c..22cd7a035091bf90e9b0e358e539580516dd289f 100644 (file)
@@ -20,6 +20,10 @@ bld.AUTOCLEANUP_STALE_FILES()
 # enable building of public headers in the build tree
 bld.env.build_public_headers = 'include/public'
 
+# these are includes which appear in public headers, but with #ifdef conditional
+# compilation, so they are safe
+bld.env.public_headers_skip = ['param/param_proto.h', 'lib/ldb_compat.h']
+
 samba_version.load_version(bld.env)
 bld.SAMBA_MKVERSION('version.h')