hc
2023-02-13 e440ec23c5a540cdd3f7464e8779219be6fd3d95
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
Fix sysfs when cross-compiling
 
Use proper paths for sysfs plugins when cross-compiling
 
Signed-of-by: Aws Ismail <aws.ismail@windriver.com>
 
Upstream-Status: Pending
 
Signed-off-by: Wenzong Fan <wenzong.fan@windriver.com>
 
diff --git a/plugins/sysfs/sysfs2hpi.c b/plugins/sysfs/sysfs2hpi.c
index a745214..3685598 100644
--- a/plugins/sysfs/sysfs2hpi.c
+++ b/plugins/sysfs/sysfs2hpi.c
@@ -18,7 +18,7 @@
 
 #include <stdlib.h>
 #include <string.h>
-#include <libsysfs.h>
+#include <sysfs/libsysfs.h>
 
 #include <SaHpi.h>
 #include <oh_utils.h>