This is the mail archive of the glibc-bugs@sourceware.org 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]
Other format: [Raw text]

[Bug network/15850] New: Glibc headers have conflicts with kernel headers on the definition of struct in6_addr


http://sourceware.org/bugzilla/show_bug.cgi?id=15850

            Bug ID: 15850
           Summary: Glibc headers have conflicts with kernel headers on
                    the definition of struct in6_addr
           Product: glibc
           Version: 2.18
            Status: NEW
          Severity: normal
          Priority: P2
         Component: network
          Assignee: unassigned at sourceware dot org
          Reporter: xiyou.wangcong at gmail dot com

/usr/include/netinet/in.h:35:5: error: expected identifier before numeric
constant
/usr/include/netinet/in.h:197:8: error: redefinition of 'struct in6_addr'
In file included from /usr/include/linux/if_bridge.h:17:0,
                   from src/tethering.c:38:
/usr/include/linux/in6.h:30:8: note: originally defined here


Test cases:


#include <netinet/in.h>
#include <linux/in6.h>
int main (void) {
  return 0;
}


#include <linux/in6.h>
#include <netinet/in.h>
int main (void) {
  return 0;
}

-- 
You are receiving this mail because:
You are on the CC list for the bug.


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