Subject: Re: CVS commit: src/include
To: None <source-changes@netbsd.org>
From: Christos Zoulas <christos@astron.com>
List: source-changes
Date: 11/08/2007 15:13:14
In article <20071108062537.GA27514@babymeat.com>,
Tom Spindler  <dogcow@babymeat.com> wrote:
>> This is wrong... Other systems don't have sys/featureset.h and _NETBSD_SOURCE
>> should not be tested. This is not a standard header.
>
>What's the proper way to fix this, then? Without this reversion, I get
>build errors due to conflicting types for getopt_long on my lignux box:

The proper way to fix this is to understand the problem better, remove
the mess of ifdefs, and treat it like we do for the user_from_uid and
pwcache_ functions. I.e. don't provide compat_getopt.h, but deal with
it in the compat_defs.h file.

christos