[Spice-devel] [PATCH v2] Make video-encoder.h self independent

Frediano Ziglio fziglio at redhat.com
Thu Jun 16 09:46:13 UTC 2016


gpointer definition was not included causing the header to fails to
compile if included first.

Signed-off-by: Frediano Ziglio <fziglio at redhat.com>
---
 server/video-encoder.h | 1 +
 1 file changed, 1 insertion(+)

Changes from v1:
- include glib.h to have gpointer definition.

diff --git a/server/video-encoder.h b/server/video-encoder.h
index 5522818..a4cd2b3 100644
--- a/server/video-encoder.h
+++ b/server/video-encoder.h
@@ -22,6 +22,7 @@
 #define _H_VIDEO_ENCODER
 
 #include <inttypes.h>
+#include <glib.h>
 #include <common/draw.h>
 
 
-- 
2.7.4



More information about the Spice-devel mailing list