From: Felix Fietkau Date: Wed, 23 Apr 2025 08:04:22 +0000 (+0200) Subject: util-linux: change include order to fix build error X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=eea1d86482367f3f02e756832b682a8fdc16df3b;p=openwrt%2Fstaging%2Fblocktrron.git 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 --- 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 + +-#include "all-io.h" + #include "uuidP.h" ++#include "all-io.h" + #include "uuidd.h" + #include "randutils.h" + #include "strutils.h"