Brad Bishop | 6e60e8b | 2018-02-01 10:27:11 -0500 | [diff] [blame] | 1 | Fix sysfs when cross-compiling |
| 2 | |
| 3 | Use proper paths for sysfs plugins when cross-compiling |
| 4 | |
| 5 | Signed-of-by: Aws Ismail <aws.ismail@windriver.com> |
| 6 | |
| 7 | Upstream-Status: Pending |
| 8 | |
| 9 | Signed-off-by: Wenzong Fan <wenzong.fan@windriver.com> |
| 10 | |
| 11 | diff --git a/plugins/sysfs/sysfs2hpi.c b/plugins/sysfs/sysfs2hpi.c |
| 12 | index 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> |