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/Viewport.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/Viewport.cxx')
-rw-r--r-- | vncviewer/Viewport.cxx | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/vncviewer/Viewport.cxx b/vncviewer/Viewport.cxx index 8d57e9bd..80b48545 100644 --- a/vncviewer/Viewport.cxx +++ b/vncviewer/Viewport.cxx @@ -21,9 +21,6 @@ #include <stdio.h> #include <string.h> -#include <FL/fl_draw.H> -#include <FL/fl_ask.H> - #include <rfb/CMsgWriter.h> #include <rfb/LogWriter.h> @@ -46,6 +43,13 @@ #include "parameters.h" #include "keysym2ucs.h" +#include <FL/fl_draw.H> +#include <FL/fl_ask.H> + +#ifdef WIN32 +#include "win32.h" +#endif + using namespace rfb; using namespace rdr; |