aboutsummaryrefslogtreecommitdiffstats
path: root/package/boot/uboot-envtools/patches/100-fw_env_gnu_source.patch
blob: eeed1d637c4f5307157f4ecd5eba1e7db806c61c (plain)
1
2
3
4
5
6
7
8
9
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>