openwrt/package/boot/uboot-envtools/patches/100-fw_env_gnu_source.patch
Felix Fietkau fbda3388f9 uboot-envtools: fix build with musl
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 39961
2014-03-20 13:51:27 +00:00

11 lines
196 B
Diff

--- 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>