summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorletsgoustc <letsgoustc@gmail.com>2011-07-22 20:18:30 +0200
committerChristian Beier <dontmind@freeshell.org>2011-07-22 20:18:30 +0200
commit488ad8a60969222eb0d417955820bac00982abb5 (patch)
treeba520dc46223707cef8ea853218072839398b17b
parent17ce0c56281f55316685f194b34e5f99f4024a5f (diff)
downloadlibvncserver-488ad8a60969222eb0d417955820bac00982abb5.zip
libvncserver-488ad8a60969222eb0d417955820bac00982abb5.tar.gz
Make LibVNCServer build for Android.
Signed-off-by: Christian Beier <dontmind@freeshell.org>
-rw-r--r--rfb/rfb.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/rfb/rfb.h b/rfb/rfb.h
index c16336d..abe1477 100644
--- a/rfb/rfb.h
+++ b/rfb/rfb.h
@@ -43,6 +43,11 @@ extern "C"
#include <string.h>
#include <rfb/rfbproto.h>
+#ifdef ANDROID
+#include <arpa/inet.h>
+#include <sys/select.h>
+#endif
+
#ifdef LIBVNCSERVER_HAVE_SYS_TYPES_H
#include <sys/types.h>
#endif
OpenPOWER on IntegriCloud