summarylogtreecommitdiffstats
path: root/0002-Define-basename.patch
blob: 32ffce9c4c07bca5c48b13a01b971005e9f64b98 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
--- a/libkmod/libkmod-config.c
+++ b/libkmod/libkmod-config.c
@@ -34,6 +34,7 @@
 
 #include "libkmod.h"
 #include "libkmod-internal.h"
+#include "../../basename-impl.h"
 
 struct kmod_alias {
 	char *name;
--- a/testsuite/testsuite.c
+++ b/testsuite/testsuite.c
@@ -35,6 +35,7 @@
 #include <shared/util.h>
 
 #include "testsuite.h"
+#include "../../basename-impl.h"
 
 static const char *ANSI_HIGHLIGHT_GREEN_ON = "\x1B[1;32m";
 static const char *ANSI_HIGHLIGHT_YELLOW_ON = "\x1B[1;33m";
--- a/shared/util.c
+++ b/shared/util.c
@@ -32,6 +32,8 @@
 #include <shared/missing.h>
 #include <shared/util.h>
 
+#include "../../basename-impl.h"
+
 #define USEC_PER_SEC  1000000ULL
 #define NSEC_PER_USEC 1000ULL
 
--- a/tools/depmod.c
+++ b/tools/depmod.c
@@ -40,6 +40,8 @@
 
 #include <libkmod/libkmod-internal.h>
 
+#include "../../basename-impl.h"
+
 #undef ERR
 #undef DBG
 
--- a/tools/kmod.c
+++ b/tools/kmod.c
@@ -27,6 +27,7 @@
 
 #include <libkmod/libkmod.h>
 
+#include "../../basename-impl.h"
 #include "kmod.h"
 
 static const char options_s[] = "+hV";