summaryrefslogtreecommitdiffstats
path: root/common
diff options
context:
space:
mode:
Diffstat (limited to 'common')
-rw-r--r--common/vncauth.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/common/vncauth.c b/common/vncauth.c
index 82c1b68..0b20f53 100644
--- a/common/vncauth.c
+++ b/common/vncauth.c
@@ -24,6 +24,7 @@
#ifdef __STRICT_ANSI__
#define _BSD_SOURCE
#define _POSIX_SOURCE
+#define _XOPEN_SOURCE 600
#endif
#ifdef LIBVNCSERVER_HAVE_SYS_TYPES_H
#include <sys/types.h>