Re: [PATCH] scripts: fix warning generated by glibc 2.20

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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 <dev@xxxxxxxxxx>
> ---
>  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@xxxxxxxxxxxxxxxxxxx
http://lists.infradead.org/mailman/listinfo/barebox




[Index of Archives]     [Linux Embedded]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [XFree86]

  Powered by Linux