diff --git a/device.c b/device.c index dd07374..7c51894 100644 --- a/device.c +++ b/device.c @@ -19,6 +19,10 @@ #include "linux/linux.h" #endif +#include "dicmote.h" + +#include + int DeviceOpen(const char* device_path) { #if defined(__linux__) && !defined(__ANDROID__) diff --git a/scsi.c b/scsi.c index ed0a99d..7ab9c03 100644 --- a/scsi.c +++ b/scsi.c @@ -19,6 +19,8 @@ #include "linux/linux.h" #endif +#include + int32_t SendScsiCommand(int device_fd, char* cdb, char* buffer, diff --git a/sdhci.c b/sdhci.c index 3f3f153..49db4dc 100644 --- a/sdhci.c +++ b/sdhci.c @@ -19,6 +19,8 @@ #include "linux/linux.h" #endif +#include + int32_t SendSdhciCommand(int device_fd, uint8_t command, uint8_t write,