summaryrefslogtreecommitdiffstats
path: root/libvncclient/sockets.c
diff options
context:
space:
mode:
authordscho <dscho>2005-05-15 13:57:51 +0000
committerdscho <dscho>2005-05-15 13:57:51 +0000
commit8bee4eb990273c3654431467ba6618eb916f030a (patch)
treef3077e1cb12a4cb778047814583fc0b2f26bb7b2 /libvncclient/sockets.c
parentbe5b1296e4aa4d8a51cd709853408ec0cd7b768b (diff)
downloadlibtdevnc-8bee4eb990273c3654431467ba6618eb916f030a.tar.gz
libtdevnc-8bee4eb990273c3654431467ba6618eb916f030a.zip
ANSIfy, fix some warnings from Linus' sparse
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>