From ee5244137266e2945b596f63ce4f60cfef6cdaf3 Mon Sep 17 00:00:00 2001 From: dscho Date: Wed, 18 May 2005 08:12:28 +0000 Subject: hide strict ansi stuff if not explicitely turned on; actually use the socklen_t test from configure.ac --- libvncserver/main.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'libvncserver/main.c') diff --git a/libvncserver/main.c b/libvncserver/main.c index 7c7bc3d..5cac343 100644 --- a/libvncserver/main.c +++ b/libvncserver/main.c @@ -10,7 +10,9 @@ * see GPL (latest version) for full details */ +#ifdef __STRICT_ANSI__ #define _BSD_SOURCE +#endif #include #include #include "private.h" -- cgit v1.2.3