pmaports/main/qt5-qtvirtualkeyboard/0001-include-sys-time.h-for-timeval.patch

13 lines
441 B
Diff
Raw Normal View History

diff --git a/src/virtualkeyboard/3rdparty/pinyin/include/userdict.h b/src/virtualkeyboard/3rdparty/pinyin/include/userdict.h
index 1b9673f..924be7b 100644
--- a/src/virtualkeyboard/3rdparty/pinyin/include/userdict.h
+++ b/src/virtualkeyboard/3rdparty/pinyin/include/userdict.h
@@ -24,6 +24,7 @@
// Debug performance for operations
// #define ___DEBUG_PERF___
+#include <sys/time.h>
#ifdef _WIN32
#include <winsock.h> // timeval
#else