From 0d22559e307eb0b910388615c9d32dfa280fcb01 Mon Sep 17 00:00:00 2001 From: Sam Lantinga Date: Tue, 21 Aug 2018 10:25:30 -0700 Subject: [PATCH] Fixed Android build error --- src/hidapi/android/hid.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/hidapi/android/hid.cpp b/src/hidapi/android/hid.cpp index 0a8a77745c48b..37b159b12a834 100644 --- a/src/hidapi/android/hid.cpp +++ b/src/hidapi/android/hid.cpp @@ -10,6 +10,7 @@ #include #include #include // For ETIMEDOUT and ECONNRESET +#include // For malloc() and free() #define TAG "hidapi" #ifdef DEBUG