diff options
author | Felix Fietkau <nbd@openwrt.org> | 2015-11-01 12:38:38 +0000 |
---|---|---|
committer | Felix Fietkau <nbd@openwrt.org> | 2015-11-01 12:38:38 +0000 |
commit | 97abe48112b036f9f4cde368c4ecf81cf9565c4c (patch) | |
tree | e45282506a2764bbb8363c5588ba3d97896150d3 /package/boot/kobs-ng/patches/004-gnu_source.patch | |
parent | 6bc9a6d0a8177d89aeedc821c596d32703f1954d (diff) | |
download | upstream-97abe48112b036f9f4cde368c4ecf81cf9565c4c.tar.gz upstream-97abe48112b036f9f4cde368c4ecf81cf9565c4c.tar.bz2 upstream-97abe48112b036f9f4cde368c4ecf81cf9565c4c.zip |
kobs-ng: fix compile errors
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 47332
Diffstat (limited to 'package/boot/kobs-ng/patches/004-gnu_source.patch')
-rw-r--r-- | package/boot/kobs-ng/patches/004-gnu_source.patch | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/package/boot/kobs-ng/patches/004-gnu_source.patch b/package/boot/kobs-ng/patches/004-gnu_source.patch new file mode 100644 index 0000000000..3e94c92e1c --- /dev/null +++ b/package/boot/kobs-ng/patches/004-gnu_source.patch @@ -0,0 +1,10 @@ +--- a/src/plat_boot_config.c ++++ b/src/plat_boot_config.c +@@ -18,6 +18,7 @@ + * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + */ + ++#define _GNU_SOURCE + #include <stdio.h> + #include <stdlib.h> + #include <string.h> |