summaryrefslogtreecommitdiffstats
path: root/libvncclient/sockets.c
diff options
context:
space:
mode:
Diffstat (limited to 'libvncclient/sockets.c')
-rw-r--r--libvncclient/sockets.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/libvncclient/sockets.c b/libvncclient/sockets.c
index 21047fb..977912d 100644
--- a/libvncclient/sockets.c
+++ b/libvncclient/sockets.c
@@ -21,6 +21,7 @@
* sockets.c - functions to deal with sockets.
*/
+#define _BSD_SOURCE
#include <unistd.h>
#include <errno.h>
#include <fcntl.h>