On Fri, 18 Apr 2014, matthew green wrote:
don't include fmemopen in tools builds. Since tools does not define _NETBSD_SOURCE, we don't get the fmemopen prototypehmm.... is that because we define _SOMEOTHER_SOURCE?_NETBSD_SOURCE should be defined normally, unless you start to ask for restricted namespaces...
src/tools/compat/compat_defs.h goes to a lot of trouble to ensure that _NETBSD_SOURCE does not get defined. I don't understand why that is done.
--apb (Alan Barrett)