From mboxrd@z Thu Jan 1 00:00:00 1970 From: Bruce Richardson Subject: Re: [PATCH v2] mlx: fix compilation with Glibc 2.20 Date: Mon, 20 Jun 2016 16:24:50 +0100 Message-ID: <20160620152449.GA17588@bricha3-MOBL3> References: <20160620100450.GA19416@bricha3-MOBL3> <1466429506-16922-1-git-send-email-adrien.mazarguil@6wind.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: Ferruh Yigit , dev@dpdk.org To: Adrien Mazarguil Return-path: Received: from mga09.intel.com (mga09.intel.com [134.134.136.24]) by dpdk.org (Postfix) with ESMTP id AE823961F for ; Mon, 20 Jun 2016 17:24:58 +0200 (CEST) Content-Disposition: inline In-Reply-To: <1466429506-16922-1-git-send-email-adrien.mazarguil@6wind.com> List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" 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 > Signed-off-by: Adrien Mazarguil Applied to dpdk-next-net in place of previous incomplete fix. /Bruce