summaryrefslogtreecommitdiff
path: root/target/linux/patches/5.15.158/darwin-file2alias.patch
blob: fdbc598a8561a0fff28e3763e66b534636446ec5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
diff -Nur linux-5.4.42.orig/scripts/mod/file2alias.c linux-5.4.42/scripts/mod/file2alias.c
--- linux-5.4.42.orig/scripts/mod/file2alias.c	2020-05-20 08:20:41.000000000 +0200
+++ linux-5.4.42/scripts/mod/file2alias.c	2020-06-06 20:14:59.000000000 +0200
@@ -10,6 +10,10 @@
  * of the GNU General Public License, incorporated herein by reference.
  */
 
+/* workaround for Darwin */
+#define _UUID_T
+#define __GETHOSTUUID_H
+
 #include "modpost.h"
 #include "devicetable-offsets.h"