diff options
| author | Felix Fietkau | 2025-04-23 08:04:22 +0000 |
|---|---|---|
| committer | Felix Fietkau | 2025-04-23 08:29:14 +0000 |
| commit | eea1d86482367f3f02e756832b682a8fdc16df3b (patch) | |
| tree | 7367f633c93e6fd8047501b6bbc3a38364ccbaf6 | |
| parent | cb3fc1aef9c01f23d7f740bf0c5f4b432d6d0e79 (diff) | |
| download | openwrt-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.patch | 12 |
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" |