diff --git a/jni/ioctl.h b/jni/ioctl.h index 4a7cd15..3f6823a 100644 --- a/jni/ioctl.h +++ b/jni/ioctl.h @@ -4,7 +4,16 @@ #include "card.h" #endif -#include +#ifdef __linux__ +# include "linux/types.h" +#else +# include +typedef uint64_t __u64; +typedef uint32_t __u32; +typedef int32_t __s32; +typedef uint16_t __u16; +typedef uint8_t __u8; +#endif struct mmc_ioc_cmd {