summaryrefslogtreecommitdiffstats
path: root/rfb/rfb.h
diff options
context:
space:
mode:
Diffstat (limited to 'rfb/rfb.h')
-rw-r--r--rfb/rfb.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/rfb/rfb.h b/rfb/rfb.h
index 5866cd6..007c13c 100644
--- a/rfb/rfb.h
+++ b/rfb/rfb.h
@@ -45,6 +45,10 @@ extern "C"
#include <winsock2.h>
#endif
+#ifndef LIBVNCSERVER_HAVE_SOCKLEN_T
+typedef int socklen_t;
+#endif
+
#ifdef LIBVNCSERVER_HAVE_LIBPTHREAD
#include <pthread.h>
#if 0 /* debugging */