aboutsummaryrefslogtreecommitdiffstats
path: root/meta-networking/recipes-daemons/openhpi/files/openhpi-sysfs-cross-compile.patch
blob: 38d9a67424d352b4fdad3677315b72b44cc7be5b (plain)
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>