diff options
author | DRC <dcommander@users.sourceforge.net> | 2011-06-24 03:17:00 +0000 |
---|---|---|
committer | DRC <dcommander@users.sourceforge.net> | 2011-06-24 03:17:00 +0000 |
commit | b65bb93e6711a3543228928e6793c49481df54d6 (patch) | |
tree | 18bfa0c975b200bc5db7719d827c8d04f910955e /vncviewer/vncviewer.cxx | |
parent | 3cb5b2112c21c0b7d4d044332b1e5ab60d2bdde2 (diff) | |
download | tigervnc-b65bb93e6711a3543228928e6793c49481df54d6.tar.gz tigervnc-b65bb93e6711a3543228928e6793c49481df54d6.zip |
Fix build issues with Visual C++ (implemented macro version of snprintf + re-ordered headers to ensure that winsock is included ahead of windows.h)
git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4527 3789f03b-4d11-0410-bbf8-ca57d06f2519
Diffstat (limited to 'vncviewer/vncviewer.cxx')
-rw-r--r-- | vncviewer/vncviewer.cxx | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/vncviewer/vncviewer.cxx b/vncviewer/vncviewer.cxx index b9e8ab56..41d3796c 100644 --- a/vncviewer/vncviewer.cxx +++ b/vncviewer/vncviewer.cxx @@ -1,6 +1,6 @@ /* Copyright (C) 2002-2005 RealVNC Ltd. All Rights Reserved. * Copyright 2011 Pierre Ossman <ossman@cendio.se> for Cendio AB - * Copyright (C) 2011 D. R. Commander + * Copyright (C) 2011 D. R. Commander. All Rights Reserved. * * This is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -53,6 +53,10 @@ #include "ServerDialog.h" #include "UserDialog.h" +#ifdef WIN32 +#include "win32.h" +#endif + rfb::LogWriter vlog("main"); using namespace network; |