This is the mail archive of the libc-hacker@sourceware.cygnus.com mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: <signal.h> broken with _POSIX_SOURCE=1 defined


>#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.




Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]