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:
parent
cb3fc1aef9
commit
eea1d86482
1 changed files with 12 additions and 0 deletions
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"
|
Loading…
Reference in a new issue