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