From eea1d86482367f3f02e756832b682a8fdc16df3b Mon Sep 17 00:00:00 2001 From: Felix Fietkau Date: Wed, 23 Apr 2025 10:04:22 +0200 Subject: [PATCH] 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 --- tools/util-linux/patches/100-fix_include_order.patch | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 tools/util-linux/patches/100-fix_include_order.patch 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 00000000000..c7e4311fc1f --- /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"