summaryrefslogtreecommitdiffstats
path: root/rfb
diff options
context:
space:
mode:
authorChristian Beier <dontmind@freeshell.org>2017-03-26 16:11:16 +0200
committerChristian Beier <dontmind@freeshell.org>2017-03-26 16:11:16 +0200
commit80ad74f7613d7d790a5152ee377af361ecd3ff9b (patch)
tree71aaa4d4d6286673f79aa109be03df70f13fc627 /rfb
parent5b920be490f49f951a99651918b2d2425a8d070c (diff)
downloadlibtdevnc-80ad74f7613d7d790a5152ee377af361ecd3ff9b.tar.gz
libtdevnc-80ad74f7613d7d790a5152ee377af361ecd3ff9b.zip
Fix building for Android and add build instructions to README
Diffstat (limited to 'rfb')
-rw-r--r--rfb/rfbclient.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/rfb/rfbclient.h b/rfb/rfbclient.h
index 505dd9c..72e7a5a 100644
--- a/rfb/rfbclient.h
+++ b/rfb/rfbclient.h
@@ -35,6 +35,11 @@
#define WIN32_LEAN_AND_MEAN /* Prevent loading any Winsock 1.x headers from windows.h */
#endif
+#if defined(ANDROID) || defined(LIBVNCSERVER_HAVE_ANDROID)
+#include <arpa/inet.h>
+#include <sys/select.h>
+#endif
+
#include <stdio.h>
#include <stdlib.h>
#include <string.h>