aboutsummaryrefslogtreecommitdiffstats
path: root/package/boot/kobs-ng/patches/004-gnu_source.patch
diff options
context:
space:
mode:
Diffstat (limited to 'package/boot/kobs-ng/patches/004-gnu_source.patch')
-rw-r--r--package/boot/kobs-ng/patches/004-gnu_source.patch10
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>