scripts: fix warning generated by glibc 2.20
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@lynxeye.de>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
1 parent f8d5736 commit 603ba8c1ba906a66c71610b8a0a13375461565c2
@Lucas Stach Lucas Stach authored on 1 Mar 2015
Sascha Hauer committed on 2 Mar 2015
Showing 3 changed files
View
scripts/fix_size.c
View
scripts/mk-omap-image.c
View
scripts/mkublheader.c