diff options
author | dscho <dscho> | 2005-05-18 08:12:28 +0000 |
---|---|---|
committer | dscho <dscho> | 2005-05-18 08:12:28 +0000 |
commit | ee5244137266e2945b596f63ce4f60cfef6cdaf3 (patch) | |
tree | c04ef01921e633e910f6fdafa7ad335c53950b1e /vncterm | |
parent | a5524005d6c9f34facb3ff0aabced4e76fe314b0 (diff) | |
download | libvncserver-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 'vncterm')
-rw-r--r-- | vncterm/VNCommand.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/vncterm/VNCommand.c b/vncterm/VNCommand.c index d53605a..ecf2543 100644 --- a/vncterm/VNCommand.c +++ b/vncterm/VNCommand.c @@ -1,5 +1,7 @@ +#ifdef __STRICT_ANSI__ #define _BSD_SOURCE #define _POSIX_SOURCE +#endif #include "VNConsole.h" #include "vga.h" #ifdef LIBVNCSERVER_HAVE_FCNTL_H |