[openwrt/openwrt] util-linux: change include order to fix build error
LEDE Commits
lede-commits at lists.infradead.org
Wed Apr 23 01:29:25 PDT 2025
nbd pushed a commit to openwrt/openwrt.git, branch main:
https://git.openwrt.org/eea1d86482367f3f02e756832b682a8fdc16df3b
commit eea1d86482367f3f02e756832b682a8fdc16df3b
Author: Felix Fietkau <nbd at nbd.name>
AuthorDate: Wed Apr 23 10:04:22 2025 +0200
util-linux: change include order to fix build error
Prevent accidentally including an old version of uuid.h, which causes
the build to fail because of missing definitions.
Signed-off-by: Felix Fietkau <nbd at nbd.name>
---
tools/util-linux/patches/100-fix_include_order.patch | 12 ++++++++++++
1 file changed, 12 insertions(+)
diff --git a/tools/util-linux/patches/100-fix_include_order.patch b/tools/util-linux/patches/100-fix_include_order.patch
new file mode 100644
index 0000000000..c7e4311fc1
--- /dev/null
+++ b/tools/util-linux/patches/100-fix_include_order.patch
@@ -0,0 +1,12 @@
+--- a/libuuid/src/gen_uuid.c
++++ b/libuuid/src/gen_uuid.c
+@@ -86,8 +86,8 @@
+
+ #include <signal.h>
+
+-#include "all-io.h"
+ #include "uuidP.h"
++#include "all-io.h"
+ #include "uuidd.h"
+ #include "randutils.h"
+ #include "strutils.h"
More information about the lede-commits
mailing list