mirror of
git://git.openwrt.org/openwrt/openwrt.git
synced 2025-02-18 13:06:51 +00:00
uboot-envtools: fix build with musl
Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 39961
This commit is contained in:
parent
f4ace532c8
commit
fbda3388f9
@ -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>
|
Loading…
Reference in New Issue
Block a user