diff options
author | Marc-André Lureau <marcandre.lureau@redhat.com> | 2010-12-15 18:39:14 +0100 |
---|---|---|
committer | Marc-André Lureau <marcandre.lureau@gmail.com> | 2012-03-20 15:25:52 +0100 |
commit | f0ce9c8433d8a0b672e1c09b79c076493956c7ac (patch) | |
tree | 6069a7d61f3b3a0e0c7d314861175e27b4fcdeeb /common/canvas_base.h | |
parent | c04b58bf7abc542453bdd59bcd927d3e236e107d (diff) | |
download | spice-common-f0ce9c8433d8a0b672e1c09b79c076493956c7ac.tar.gz spice-common-f0ce9c8433d8a0b672e1c09b79c076493956c7ac.tar.xz spice-common-f0ce9c8433d8a0b672e1c09b79c076493956c7ac.zip |
common: add windows.h where required, make gdi_handlers static
This patch has not been verified with VS/brew. It should be safe
hopefully. Compilation is fine with mingw32/spice-gtk.
Diffstat (limited to 'common/canvas_base.h')
-rw-r--r-- | common/canvas_base.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/common/canvas_base.h b/common/canvas_base.h index 7c5f275..7a69def 100644 --- a/common/canvas_base.h +++ b/common/canvas_base.h @@ -27,6 +27,9 @@ #include "lz.h" #include "region.h" #include "draw.h" +#ifdef WIN32 +#include <windows.h> +#endif #ifdef __cplusplus extern "C" { |