termux-packages/packages/libmariadbcpp/libmariadb-include-ma_global.h.patch

14 lines
255 B
Diff
Raw Normal View History

2021-12-28 17:07:18 +01:00
--- 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>