Source-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: CVS commit: src/include
In article <20071108062537.GA27514%babymeat.com@localhost>,
Tom Spindler <dogcow%babymeat.com@localhost> 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
Home |
Main Index |
Thread Index |
Old Index