[dpdk-dev] [PATCH v2] mlx: fix compilation with Glibc 2.20

Bruce Richardson bruce.richardson at intel.com
Mon Jun 20 17:24:50 CEST 2016


On Mon, Jun 20, 2016 at 03:31:46PM +0200, Adrien Mazarguil wrote:
> Since _BSD_SOURCE was deprecated in favor of _DEFAULT_SOURCE in Glibc 2.19
> and entirely removed in 2.20, various BSD ioctl macros are not exposed
> anymore when _XOPEN_SOURCE is defined, and linux/if.h now conflicts with
> net/if.h.
> 
> Add _DEFAULT_SOURCE and keep _BSD_SOURCE for compatibility with older
> versions.
> 
> Suggested-by: Bruce Richardson <bruce.richardson at intel.com>
> Signed-off-by: Adrien Mazarguil <adrien.mazarguil at 6wind.com>

Applied to dpdk-next-net in place of previous incomplete fix.

/Bruce


More information about the dev mailing list