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 /libvncclient/sockets.c | |
parent | a5524005d6c9f34facb3ff0aabced4e76fe314b0 (diff) | |
download | libtdevnc-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 'libvncclient/sockets.c')
-rw-r--r-- | libvncclient/sockets.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/libvncclient/sockets.c b/libvncclient/sockets.c index 977912d..6ee5a9d 100644 --- a/libvncclient/sockets.c +++ b/libvncclient/sockets.c @@ -21,7 +21,9 @@ * sockets.c - functions to deal with sockets. */ +#ifdef __STRICT_ANSI__ #define _BSD_SOURCE +#endif #include <unistd.h> #include <errno.h> #include <fcntl.h> |