This is the mail archive of the
glibc-bugs@sourceware.org
mailing list for the glibc project.
[Bug network/15850] New: Glibc headers have conflicts with kernel headers on the definition of struct in6_addr
- From: "xiyou.wangcong at gmail dot com" <sourceware-bugzilla at sourceware dot org>
- To: glibc-bugs at sourceware dot org
- Date: Mon, 19 Aug 2013 01:13:39 +0000
- Subject: [Bug network/15850] New: Glibc headers have conflicts with kernel headers on the definition of struct in6_addr
- Auto-submitted: auto-generated
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.