Selaa lähdekoodia

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 <[email protected]>
Felix Fietkau 8 kuukautta sitten
vanhempi
sitoutus
eea1d86482
1 muutettua tiedostoa jossa 12 lisäystä ja 0 poistoa
  1. 12 0
      tools/util-linux/patches/100-fix_include_order.patch

+ 12 - 0
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"