summaryrefslogtreecommitdiffstats
path: root/rfb/rfb.h
diff options
context:
space:
mode:
Diffstat (limited to 'rfb/rfb.h')
-rw-r--r--rfb/rfb.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/rfb/rfb.h b/rfb/rfb.h
index abe1477..c6cf524 100644
--- a/rfb/rfb.h
+++ b/rfb/rfb.h
@@ -43,7 +43,7 @@ extern "C"
#include <string.h>
#include <rfb/rfbproto.h>
-#ifdef ANDROID
+#if defined(ANDROID) || defined(LIBVNCSERVER_HAVE_ANDROID)
#include <arpa/inet.h>
#include <sys/select.h>
#endif