diff options
author | Sam Lantinga <slouken@libsdl.org> | 2018-08-21 10:25:30 -0700 |
---|---|---|
committer | Sam Lantinga <slouken@libsdl.org> | 2018-08-21 10:25:30 -0700 |
commit | e20c52c1a4621cfae27adad3516f6396abe8da0d (patch) | |
tree | 3c28dc3a06f0e0a0d9f6c6b6a914d49a34553427 | |
parent | 51cd4a7b21ca6ecde3458c0d2b2696cb016e7d57 (diff) | |
download | sdl-e20c52c1a4621cfae27adad3516f6396abe8da0d.tar.gz |
Fixed Android build error
-rw-r--r-- | src/hidapi/android/hid.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/hidapi/android/hid.cpp b/src/hidapi/android/hid.cpp index 0a8a77745..37b159b12 100644 --- a/src/hidapi/android/hid.cpp +++ b/src/hidapi/android/hid.cpp @@ -10,6 +10,7 @@ #include <android/log.h> #include <pthread.h> #include <errno.h> // For ETIMEDOUT and ECONNRESET +#include <stdlib.h> // For malloc() and free() #define TAG "hidapi" #ifdef DEBUG |