Subject: Re: Commit to src/lib/libc/stdio/fparseln.c breaks foreign crossbuilds
To: Christian Limpach <email@example.com>
From: James Chacon <jmc@NetBSD.org>
Date: 05/11/2004 09:27:28
On Tue, May 11, 2004 at 12:58:52PM +0200, Christian Limpach wrote:
> > > Could you try to add a "reentrant.h" to src/tools/compat
> > > which just contains the lines:
> > > #define FLOCKFILE(fp)
> > > #define FUNLOCKFILE(fp)
> > Did this, and the tools are building fine now. Danke.
> This still breaks on a Linux host since besides reentrant.h, local.h is
> newly included and it includes fileext.h which needs struct __sbuf to be
> I'm using using the following fix for now in
> +#ifndef HAVE_NBTOOL_CONFIG_H
> #include "reentrant.h"
> #include "local.h"
> +#define FLOCKFILE(fp)
> +#define FUNLOCKFILE(fp)
This looks cleanest for now (since that's all those files need).