summaryrefslogtreecommitdiffstats
path: root/libvncserver/main.c
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 /libvncserver/main.c
parenta5524005d6c9f34facb3ff0aabced4e76fe314b0 (diff)
downloadlibtdevnc-ee5244137266e2945b596f63ce4f60cfef6cdaf3.tar.gz
libtdevnc-ee5244137266e2945b596f63ce4f60cfef6cdaf3.zip
hide strict ansi stuff if not explicitely turned on; actually use the socklen_t test from configure.ac
Diffstat (limited to 'libvncserver/main.c')
-rw-r--r--libvncserver/main.c2
1 files changed, 2 insertions, 0 deletions
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 <rfb/rfb.h>
#include <rfb/rfbregion.h>
#include "private.h"