summaryrefslogtreecommitdiff
path: root/firmware
diff options
context:
space:
mode:
authorSolomon Peachy <pizza@shaftnet.org>2021-03-10 19:01:12 -0500
committerSolomon Peachy <pizza@shaftnet.org>2021-03-10 19:01:12 -0500
commit7201c3a685fe71348a2576f19e77e0f8ab9638a6 (patch)
tree0a757e315c6340b825c739ec89bb4f50ef80c5cb /firmware
parent555299af9f0ee71c1ad86a6c6846748861be458b (diff)
fiiom3klinux: Fix a build warning.
Change-Id: I1355c87d17376422d54b259db2078ea5f886bedb
Diffstat (limited to 'firmware')
-rw-r--r--firmware/target/hosted/power-linux.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/firmware/target/hosted/power-linux.c b/firmware/target/hosted/power-linux.c
index ea8d787ad5..ddd7ad63e3 100644
--- a/firmware/target/hosted/power-linux.c
+++ b/firmware/target/hosted/power-linux.c
@@ -29,6 +29,9 @@
#include "sysfs.h"
#include "tick.h"
+#ifdef FIIO_M3K_LINUX
+#include "usb.h"
+#endif
#define BATTERY_STATUS_PATH "/sys/class/power_supply/" BATTERY_DEV_NAME "/status"
#define POWER_STATUS_PATH "/sys/class/power_supply/" POWER_DEV_NAME "/online"