summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChristian Beier <dontmind@freeshell.org>2015-01-02 14:29:05 +0100
committerChristian Beier <dontmind@freeshell.org>2015-01-02 14:29:05 +0100
commit108c26fddebfc56909fd7f8815951133aef30bdf (patch)
tree6df8a325222f7cb2232185bff7059634c189e45a
parenta77d695c2b71b6802903e6fa31bdb8adfb5fcc88 (diff)
parentac63d743646e4e368d437362faff809a38ef8810 (diff)
downloadlibvncserver-108c26fddebfc56909fd7f8815951133aef30bdf.zip
libvncserver-108c26fddebfc56909fd7f8815951133aef30bdf.tar.gz
Merge pull request #50 from maxnet/master
tls_openssl.c: define _XOPEN_SOURCE for extra POSIX functionality
-rw-r--r--libvncclient/tls_openssl.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/libvncclient/tls_openssl.c b/libvncclient/tls_openssl.c
index 00d031d..a531778 100644
--- a/libvncclient/tls_openssl.c
+++ b/libvncclient/tls_openssl.c
@@ -18,6 +18,10 @@
* USA.
*/
+#ifndef _MSC_VER
+#define _XOPEN_SOURCE 500
+#endif
+
#include <rfb/rfbclient.h>
#include <errno.h>
OpenPOWER on IntegriCloud