summaryrefslogtreecommitdiffstats
path: root/rfb
diff options
context:
space:
mode:
authordscho <dscho>2005-05-18 08:12:28 +0000
committerdscho <dscho>2005-05-18 08:12:28 +0000
commitee5244137266e2945b596f63ce4f60cfef6cdaf3 (patch)
treec04ef01921e633e910f6fdafa7ad335c53950b1e /rfb
parenta5524005d6c9f34facb3ff0aabced4e76fe314b0 (diff)
downloadlibvncserver-ee5244137266e2945b596f63ce4f60cfef6cdaf3.zip
libvncserver-ee5244137266e2945b596f63ce4f60cfef6cdaf3.tar.gz
hide strict ansi stuff if not explicitely turned on; actually use the socklen_t test from configure.ac
Diffstat (limited to 'rfb')
-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 */
OpenPOWER on IntegriCloud