On 09/06/2012 01:06 AM, Jasper Lievisse Adriaanse wrote:
> On Wed, Sep 05, 2012 at 03:59:10PM -0600, Eric Blake wrote:
>> OpenBSD's is not self-contained; this should compile:
>>
>> | #define _POSIX_C_SOURCE 200809L
>> | #include
>> | struct if_nameindex i;
>>
>> but fails
>> * doc/posix-headers
On Wed, Sep 05, 2012 at 03:59:10PM -0600, Eric Blake wrote:
> OpenBSD's is not self-contained; this should compile:
>
> | #define _POSIX_C_SOURCE 200809L
> | #include
> | struct if_nameindex i;
>
> but fails with:
>
> In file included from foo.c:2:
> /usr/include/net/if.h:112: error: expected
OpenBSD's is not self-contained; this should compile:
| #define _POSIX_C_SOURCE 200809L
| #include
| struct if_nameindex i;
but fails with:
In file included from foo.c:2:
/usr/include/net/if.h:112: error: expected specifier-qualifier-list before
'u_int'
...
/usr/include/net/if.h:674: error: f