termux-packages/packages/libmariadbcpp/libmariadb-include-ma_global.h.patch
2021-12-28 18:07:18 +02:00

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>