[Spice-commits] server/utils.h

Frediano Ziglio fziglio at kemper.freedesktop.org
Thu Oct 20 15:35:30 UTC 2016


 server/utils.h |    3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

New commits:
commit 090fbe5eeb163dc690a46f3df8ecd5665ff54504
Author: Frediano Ziglio <fziglio at redhat.com>
Date:   Wed Sep 14 11:39:31 2016 +0100

    Avoid recursive inclusion of headers
    
    red-common.h included utils.h which included red-common.h
    
    Signed-off-by: Frediano Ziglio <fziglio at redhat.com>
    Acked-by: Jonathon Jongsma <jjongsma at redhat.com>

diff --git a/server/utils.h b/server/utils.h
index 00631f8..c4b8b1e 100644
--- a/server/utils.h
+++ b/server/utils.h
@@ -18,7 +18,8 @@
 #ifndef UTILS_H_
 # define UTILS_H_
 
-#include "red-common.h"
+#include <stdint.h>
+#include <glib.h>
 
 #define SPICE_GNUC_VISIBLE __attribute__ ((visibility ("default")))
 


More information about the Spice-commits mailing list