From mboxrd@z Thu Jan 1 00:00:00 1970 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) Received: from fmsmga002.fm.intel.com ([10.253.24.26]) by orsmga102.jf.intel.com with ESMTP; 20 Jun 2016 08:24:56 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.26,499,1459839600"; d="scan'208";a="1005973831" Received: from bricha3-mobl3.ger.corp.intel.com ([10.237.221.18]) by fmsmga002.fm.intel.com with SMTP; 20 Jun 2016 08:24:52 -0700 Received: by (sSMTP sendmail emulation); Mon, 20 Jun 2016 16:24:50 +0025 Date: Mon, 20 Jun 2016 16:24:50 +0100 From: Bruce Richardson To: Adrien Mazarguil Cc: Ferruh Yigit , dev@dpdk.org 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 Content-Disposition: inline In-Reply-To: <1466429506-16922-1-git-send-email-adrien.mazarguil@6wind.com> Organization: Intel Research and =?iso-8859-1?Q?De=ACvel?= =?iso-8859-1?Q?opment?= Ireland Ltd. User-Agent: Mutt/1.5.23 (2014-03-12) Subject: Re: [dpdk-dev] [PATCH v2] mlx: fix compilation with Glibc 2.20 X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 20 Jun 2016 15:24:59 -0000 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