From b1565e868d5549753fd710529b88bd4c183889ab Mon Sep 17 00:00:00 2001 From: marha Date: Mon, 25 Jun 2012 09:09:14 +0200 Subject: zlib is now compiled as a dll --- xorg-server/hw/xwin/xlaunch/main.cc | 3 +++ 1 file changed, 3 insertions(+) (limited to 'xorg-server/hw/xwin/xlaunch/main.cc') 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 #include +// 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 /// @brief Send WM_ENDSESSION to all program windows. -- cgit v1.2.3