[Spice-devel] [PATCH] server: add missing ifdef USE_OGL (red_worker.c)

Uri Lublin uril at redhat.com
Tue Jul 6 04:01:20 PDT 2010


---
 server/red_worker.c |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/server/red_worker.c b/server/red_worker.c
index 255a46e..38f5e1c 100644
--- a/server/red_worker.c
+++ b/server/red_worker.c
@@ -37,8 +37,10 @@
 #include <spice/protocol.h>
 #include "red_worker.h"
 #include "sw_canvas.h"
+#ifdef USE_OGL
 #include "gl_canvas.h"
 #include "ogl_ctx.h"
+#endif /* USE_OGL */
 #include "quic.h"
 #include "lz.h"
 #include "glz_encoder_dictionary.h"
-- 
1.7.0.1



More information about the Spice-devel mailing list