summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFelix Fietkau2025-04-23 08:04:22 +0000
committerFelix Fietkau2025-04-23 08:29:14 +0000
commiteea1d86482367f3f02e756832b682a8fdc16df3b (patch)
tree7367f633c93e6fd8047501b6bbc3a38364ccbaf6
parentcb3fc1aef9c01f23d7f740bf0c5f4b432d6d0e79 (diff)
downloadopenwrt-eea1d86482367f3f02e756832b682a8fdc16df3b.tar.gz
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@nbd.name>
-rw-r--r--tools/util-linux/patches/100-fix_include_order.patch12
1 files changed, 12 insertions, 0 deletions
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"