aboutsummaryrefslogtreecommitdiff
path: root/xorg-server/hw/xwin
diff options
context:
space:
mode:
authormarha <marha@users.sourceforge.net>2012-06-25 09:09:14 +0200
committermarha <marha@users.sourceforge.net>2012-06-25 09:09:14 +0200
commitb1565e868d5549753fd710529b88bd4c183889ab (patch)
tree1ec66b54444e5ad1a6c2836c648b3f1bf4c626d2 /xorg-server/hw/xwin
parent66841fa144ddd72df67ab1ddf880ca508d4bc9e3 (diff)
downloadvcxsrv-b1565e868d5549753fd710529b88bd4c183889ab.tar.gz
vcxsrv-b1565e868d5549753fd710529b88bd4c183889ab.tar.bz2
vcxsrv-b1565e868d5549753fd710529b88bd4c183889ab.zip
zlib is now compiled as a dll
Diffstat (limited to 'xorg-server/hw/xwin')
-rw-r--r--xorg-server/hw/xwin/xlaunch/main.cc3
1 files changed, 3 insertions, 0 deletions
diff --git a/xorg-server/hw/xwin/xlaunch/main.cc b/xorg-server/hw/xwin/xlaunch/main.cc
index 1bdcf6ae3..dcbb36d64 100644
--- a/xorg-server/hw/xwin/xlaunch/main.cc
+++ b/xorg-server/hw/xwin/xlaunch/main.cc
@@ -35,6 +35,9 @@
#include <X11/Xlib.h>
#include <stdlib.h>
+// Define here because it is not defined in stdlib.h because of the _POSIX_ defined
+extern "C"
+_Check_return_ _CRTIMP int __cdecl _putenv(_In_z_ const char * _EnvString);
#include <sstream>
/// @brief Send WM_ENDSESSION to all program windows.