This is the mail archive of the
libc-hacker@sourceware.cygnus.com
mailing list for the glibc project.
Re: <signal.h> broken with _POSIX_SOURCE=1 defined
- To: Zack Weinberg <zack@rabi.columbia.edu>
- Subject: Re: <signal.h> broken with _POSIX_SOURCE=1 defined
- From: Philip Blundell <pb@nexus.co.uk>
- Date: Tue, 03 Nov 1998 14:53:15 +0100
- cc: libc-hacker@cygnus.com
>#include <net/if_packet.h>
>#include <netpacket/packet.h>
>
>net/if_packet.h includes linux/if_packet.h which defines those
>structures. I don't know why the compiler didn't say where the
>previous definition was.
OK. <net/if_packet.h> needs to be prevented from doing that. I'm not totally
sure that it should even exist -- there's no such thing as a packet interface.
If we want to keep it for compatibility or whatever then it should probably
just include <netpacket/packet.h>.
p.