summaryrefslogtreecommitdiffstats
path: root/libvncserver
diff options
context:
space:
mode:
authorRaphael Kubo da Costa <rakuco@FreeBSD.org>2012-09-11 22:50:17 +0300
committerChristian Beier <dontmind@freeshell.org>2012-09-14 18:47:47 +0200
commita63312c6fbb26dffdaf9ab05b89a34bf7591e7d9 (patch)
tree2d75d6b725d34b48eb809a2e47c507c13bda7966 /libvncserver
parent252f5d9c7c31bab054f80b5135a4ab91d1c5da66 (diff)
downloadlibtdevnc-a63312c6fbb26dffdaf9ab05b89a34bf7591e7d9.tar.gz
libtdevnc-a63312c6fbb26dffdaf9ab05b89a34bf7591e7d9.zip
Include stdio.h for snprintf(3)
Diffstat (limited to 'libvncserver')
-rw-r--r--libvncserver/rfbserver.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/libvncserver/rfbserver.c b/libvncserver/rfbserver.c
index ad64ac1..5f3b31d 100644
--- a/libvncserver/rfbserver.c
+++ b/libvncserver/rfbserver.c
@@ -31,6 +31,8 @@
#define _POSIX_SOURCE
#define _XOPEN_SOURCE 600
#endif
+
+#include <stdio.h>
#include <string.h>
#include <rfb/rfb.h>
#include <rfb/rfbregion.h>