From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: Received: from metis.ext.pengutronix.de ([2001:6f8:1178:4:290:27ff:fe1d:cc33]) by bombadil.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1YSJuJ-0003w7-EY for barebox@lists.infradead.org; Mon, 02 Mar 2015 06:32:48 +0000 Date: Mon, 2 Mar 2015 07:32:25 +0100 From: Sascha Hauer Message-ID: <20150302063225.GH11010@pengutronix.de> References: <1425232409-16920-1-git-send-email-dev@lynxeye.de> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <1425232409-16920-1-git-send-email-dev@lynxeye.de> List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "barebox" Errors-To: barebox-bounces+u.kleine-koenig=pengutronix.de@lists.infradead.org Subject: Re: [PATCH] scripts: fix warning generated by glibc 2.20 To: Lucas Stach Cc: barebox@lists.infradead.org On Sun, Mar 01, 2015 at 06:53:29PM +0100, Lucas Stach wrote: > Defining only _BSD_SOURCE is deprecated with version 2.20 of > glibc. It has been replaced by _DEFAULT_SOURCE. The manpage says > that code which wants to work in the same way on both old and new > versions of glibc should simply define both symbols. > > Also move the definition up in fix_size as those feature flags > should be defined before including any standard headers. > > Signed-off-by: Lucas Stach > --- > scripts/fix_size.c | 6 +++--- > scripts/mk-omap-image.c | 1 + > scripts/mkublheader.c | 1 + > 3 files changed, 5 insertions(+), 3 deletions(-) Applied, thanks Sascha -- Pengutronix e.K. | | Industrial Linux Solutions | http://www.pengutronix.de/ | Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0 | Amtsgericht Hildesheim, HRA 2686 | Fax: +49-5121-206917-5555 | _______________________________________________ barebox mailing list barebox@lists.infradead.org http://lists.infradead.org/mailman/listinfo/barebox