summaryrefslogtreecommitdiffstats
path: root/libvncclient/listen.c
diff options
context:
space:
mode:
Diffstat (limited to 'libvncclient/listen.c')
-rw-r--r--libvncclient/listen.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/libvncclient/listen.c b/libvncclient/listen.c
index 7e0ed1d..7347a27 100644
--- a/libvncclient/listen.c
+++ b/libvncclient/listen.c
@@ -21,7 +21,9 @@
* listen.c - listen for incoming connections
*/
+#ifdef __STRICT_ANSI__
#define _BSD_SOURCE
+#endif
#include <unistd.h>
#include <sys/types.h>
#ifdef __MINGW32__