summaryrefslogtreecommitdiffstats
path: root/libvncserver/httpd.c
diff options
context:
space:
mode:
Diffstat (limited to 'libvncserver/httpd.c')
-rw-r--r--libvncserver/httpd.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/libvncserver/httpd.c b/libvncserver/httpd.c
index ed91e46..792a52b 100644
--- a/libvncserver/httpd.c
+++ b/libvncserver/httpd.c
@@ -23,6 +23,11 @@
* USA.
*/
+#ifdef __STRICT_ANSI__
+#define _BSD_SOURCE
+#define _POSIX_SOURCE
+#endif
+
#include <rfb/rfb.h>
#include <ctype.h>