[Spice-devel] [PATCH v2] Avoid recursive inclusion of headers
Frediano Ziglio
fziglio at redhat.com
Wed Sep 14 10:46:31 UTC 2016
red-common.h included utils.h which included red-common.h
Signed-off-by: Frediano Ziglio <fziglio at redhat.com>
---
server/utils.h | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
Changes from v1:
- minimize changes (Jonathon Jongsma)
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")))
--
2.7.4
More information about the Spice-devel
mailing list