termux-packages/packages/libmariadbcpp/libmariadb-include-ma_globa...

14 lines
255 B
Diff

--- a/libmariadb/include/ma_global.h
+++ b/libmariadb/include/ma_global.h
@@ -21,6 +21,10 @@
#ifndef _global_h
#define _global_h
+#ifdef __ANDROID__
+typedef unsigned short ushort;
+#endif
+
#ifdef _WIN32
#include <winsock2.h>
#include <windows.h>