[Spice-devel] [spice-common] log: Add missing stdio.h include

Christophe Fergeau cfergeau at redhat.com
Fri Mar 31 08:56:04 UTC 2017


This is needed because spice_printerr uses fprintf/stderr
---
 common/log.h | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/common/log.h b/common/log.h
index 0e03f59..11261ca 100644
--- a/common/log.h
+++ b/common/log.h
@@ -18,6 +18,8 @@
 #ifndef H_SPICE_LOG
 #define H_SPICE_LOG
 
+#include <stdio.h>
+
 #include <glib.h>
 
 #include <spice/macros.h>
-- 
2.9.3



More information about the Spice-devel mailing list