← Back to team overview

rohc team mailing list archive

Re: [Question #212737]: Redefinition of s6_addr in Linux environnement

 

Question #212737 on rohc changed:
https://answers.launchpad.net/rohc/+question/212737

    Status: Open => Answered

Didier Barvaux proposed the following answer:
> Can you add test for definition of _NETINET_IN_H before define
s6_addrXXX in your common/protocols/ipv6.h file ?

Sorry, no. The definition from protocols/ipv6.h is embedded in the
library to be portable on Windows and BSD. I tried to do it with ifdef,
but it was a nightmare. To avoid problems, do not use netinet/in.h
inside the library. Use the definition from protocols/ipv6.h instead.

Regards,
Didier

-- 
You received this question notification because you are a member of ROHC
Team, which is an answer contact for rohc.