aboutsummaryrefslogtreecommitdiffstats
path: root/package
diff options
context:
space:
mode:
Diffstat (limited to 'package')
-rw-r--r--package/boot/uboot-envtools/patches/100-fw_env_gnu_source.patch10
1 files changed, 10 insertions, 0 deletions
diff --git a/package/boot/uboot-envtools/patches/100-fw_env_gnu_source.patch b/package/boot/uboot-envtools/patches/100-fw_env_gnu_source.patch
new file mode 100644
index 0000000000..eeed1d637c
--- /dev/null
+++ b/package/boot/uboot-envtools/patches/100-fw_env_gnu_source.patch
@@ -0,0 +1,10 @@
+--- a/tools/env/fw_env.c
++++ b/tools/env/fw_env.c
+@@ -8,6 +8,7 @@
+ * SPDX-License-Identifier: GPL-2.0+
+ */
+
++#define _GNU_SOURCE
+ #include <errno.h>
+ #include <env_flags.h>
+ #include <fcntl.h>