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: Philip Blundell <pb@nexus.co.uk>
- Subject: Re: <signal.h> broken with _POSIX_SOURCE=1 defined
- From: Zack Weinberg <zack@rabi.columbia.edu>
- Date: Tue, 03 Nov 1998 09:18:38 -0500
- cc: "Matthias Urlichs" <smurf@noris.de>, libc-hacker@cygnus.com
On Tue, 03 Nov 1998 14:07:46 +0100, Philip Blundell wrote:
>
>>In file included from t-standards/all-headers.c:93:
>>../sysdeps/unix/sysv/linux/netpacket/packet.h:24: redefinition of `struct soc
>k
>>addr_ll'
>>../sysdeps/unix/sysv/linux/netpacket/packet.h:50: redefinition of `struct pac
>k
>>et_mreq'
>
>I'm puzzled by this one. Can you see how it happened?
#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.
zw