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>
This commit is contained in:
12
tools/util-linux/patches/100-fix_include_order.patch
Normal file
12
tools/util-linux/patches/100-fix_include_order.patch
Normal file
@@ -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"
|
||||
Reference in New Issue
Block a user