[dpdk-dev] [PATCH v2 5/7] fix the Marco conflict
Thomas Monjalon
thomas.monjalon at 6wind.com
Wed Aug 27 16:27:47 CEST 2014
2014-08-27 10:13, Jingjing Wu:
> fix the Marco conflict between rte_ip.h and netinet/in.h
Who is Marco?
> +#ifndef _NETINET_IN_H
> +#ifndef _NETINET_IN_H_
> /* IPv4 protocols */
> #define IPPROTO_IP 0 /**< dummy for IP */
> #define IPPROTO_HOPOPTS 0 /**< IP6 hop-by-hop options */
> @@ -226,7 +228,8 @@ struct ipv4_hdr {
> #define IPPROTO_DIVERT 254 /**< divert pseudo-protocol */
> #define IPPROTO_RAW 255 /**< raw IP packet */
> #define IPPROTO_MAX 256 /**< maximum protocol number */
> -
> +#endif /* _NETINET_IN_H_ */
> +#endif /* _NETINET_IN_H */
Please explain your "fix" (which seems to be a workaround).
--
Thomas
More information about the dev
mailing list