aboutsummaryrefslogtreecommitdiffstats
path: root/vncviewer
diff options
context:
space:
mode:
authorPeter Åstrand (astrand) <astrand@cendio.se>2015-02-05 11:10:32 +0100
committerPeter Åstrand (astrand) <astrand@cendio.se>2015-02-05 11:10:32 +0100
commit11167e1f08b15381d5e7834baf7f0a6811af1985 (patch)
treef4b6dacb771995a173b146b04f2b5e30451296bd /vncviewer
parentfcfd0f21b7842725669c98d5a4e0a4e27c062a68 (diff)
downloadtigervnc-11167e1f08b15381d5e7834baf7f0a6811af1985.tar.gz
tigervnc-11167e1f08b15381d5e7834baf7f0a6811af1985.zip
Use a common header file for Windows errno names.
In earlier Visual Studio and MinGW editions, BSD socket errno:s were left undefined. This is no longer the case. This may cause build or runtime errors. To avoid this, we are using a common header file which corrects all definitions. This header will also be used with other projects such as sercd, unfs3, PulseAudio etc.
Diffstat (limited to 'vncviewer')
-rw-r--r--vncviewer/vncviewer.cxx1
1 files changed, 1 insertions, 0 deletions
diff --git a/vncviewer/vncviewer.cxx b/vncviewer/vncviewer.cxx
index 7fb712ab..d980ed2c 100644
--- a/vncviewer/vncviewer.cxx
+++ b/vncviewer/vncviewer.cxx
@@ -32,6 +32,7 @@
#include <sys/stat.h>
#ifdef WIN32
+#include <os/winerrno.h>
#include <direct.h>
#define mkdir(path, mode) _mkdir(path)
#endif