summaryrefslogtreecommitdiffstats
path: root/libvncclient/sockets.c
diff options
context:
space:
mode:
Diffstat (limited to 'libvncclient/sockets.c')
-rw-r--r--libvncclient/sockets.c2
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>