summaryrefslogtreecommitdiffstats
path: root/src/spice-widget-priv.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/spice-widget-priv.h')
-rw-r--r--src/spice-widget-priv.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/spice-widget-priv.h b/src/spice-widget-priv.h
index 0d1c3ae..2f7e39e 100644
--- a/src/spice-widget-priv.h
+++ b/src/spice-widget-priv.h
@@ -24,7 +24,9 @@
#include <windows.h>
#endif
+#ifndef G_OS_WIN32
#include <epoxy/egl.h>
+#endif
#include "spice-widget.h"
#include "spice-common.h"
@@ -125,6 +127,7 @@ struct _SpiceDisplayPrivate {
int x11_accel_denominator;
int x11_threshold;
#endif
+#ifndef G_OS_WIN32
struct {
gboolean enabled;
EGLSurface surface;
@@ -140,6 +143,7 @@ struct _SpiceDisplayPrivate {
gboolean call_draw_done;
SpiceGlScanout scanout;
} egl;
+#endif
};
int spicex_image_create (SpiceDisplay *display);