Messages in this thread | | | Date | Thu, 17 Jan 2013 12:10:24 +0900 | From | YOSHIFUJI Hideaki <> | Subject | Re: Redefinition of struct in6_addr in <netinet/in.h> and <linux/in6.h> |
| |
Carlos O'Donell wrote: > diff --git a/include/uapi/linux/in6.h b/include/uapi/linux/in6.h > index f79c372..a2b16a5 100644 > --- a/include/uapi/linux/in6.h > +++ b/include/uapi/linux/in6.h : > #define IPV6_PRIORITY_14 0x0e00 > #define IPV6_PRIORITY_15 0x0f00 > > + > +#ifndef _NETINET_IN_H > +#if defined (__GLIBC__) > +/* Include all of the other IPPROTO_* defines for userspace. */ > +#include <linux/ipproto.h> > +#endif > /* > * IPV6 extension headers
Overall, it looks good, but why including linux/ipproto.h?
--yoshfuji
| |