Subject: libc0.3-dev: struct ether_addr defined twice Package: libc0.3-dev Version: 2.9-25 Severity: normal
On Hurd (tested on strauss.debian.net) both /usr/include/net/ethernet.h and /usr/include/netinet/if_ether.h define a struct ether_addr: /usr/include/net/ethernet.h: struct ether_addr { u_int8_t ether_addr_octet[ETH_ALEN]; }; /usr/include/netinet/if_ether.h: struct ether_addr { u_int8_t ether_addr_octet[6]; } __attribute__ ((__packed__)); This causes problems with software that includes both header files. e.g. see: http://buildd.debian-ports.org/fetch.php?pkg=nss-pam-ldapd&arch=hurd-i386&ver=0.7.0&stamp=1252363928&file=log&as=raw With Glibc on Linux (i386) only /usr/include/net/ethernet.h defines the struct. Sorry to not have more details (no reportbug on strauss). A minimal C program to reproduce: #include <net/ethernet.h> #include <netinet/if_ether.h> int main(int argc,char *argv[]){return 0;} Thanks. -- -- arthur - adej...@debian.org - http://people.debian.org/~adejong --
signature.asc
Description: This is a digitally signed message part