mirror of
https://github.com/termux/termux-packages.git
synced 2024-11-13 14:09:19 +00:00
15 lines
283 B
Diff
15 lines
283 B
Diff
--- a/common/rfb/util.h
|
|
+++ b/common/rfb/util.h
|
|
@@ -31,7 +31,11 @@
|
|
#include <limits.h>
|
|
#include <string.h>
|
|
|
|
+#ifdef __ANDROID__
|
|
+#include <sys/time.h>
|
|
+#else
|
|
struct timeval;
|
|
+#endif
|
|
|
|
#ifdef __GNUC__
|
|
# define __printf_attr(a, b) __attribute__((__format__ (__printf__, a, b)))
|