summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFrediano Ziglio <fziglio@redhat.com>2016-09-14 11:39:31 +0100
committerFrediano Ziglio <fziglio@redhat.com>2016-10-20 16:33:20 +0100
commit090fbe5eeb163dc690a46f3df8ecd5665ff54504 (patch)
tree4894718e12adc21d5bb22a6d4ad0c5cb9c51565c
parentb0d8ba9a6acf9ef762cce58dc034a2b0cb9bdabb (diff)
Avoid recursive inclusion of headers
red-common.h included utils.h which included red-common.h Signed-off-by: Frediano Ziglio <fziglio@redhat.com> Acked-by: Jonathon Jongsma <jjongsma@redhat.com>
-rw-r--r--server/utils.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/server/utils.h b/server/utils.h
index 00631f81..c4b8b1eb 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")))