summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristophe Fergeau <cfergeau@redhat.com>2015-10-07 17:16:25 +0200
committerChristophe Fergeau <cfergeau@redhat.com>2015-12-11 18:41:09 +0100
commit80c3b866ffe819a71c878166bbc3608ae281f31a (patch)
tree00779acb32552a87a26c44da233d9b6e1e1d362c
parentbb165ac3ab00d9739a00938d7ff054cd8089b614 (diff)
syntax-check: Add missing #include <config.h>
-rw-r--r--server/spice_bitmap_utils.c3
-rw-r--r--server/spice_image_cache.c3
-rw-r--r--server/tests/replay.c4
3 files changed, 10 insertions, 0 deletions
diff --git a/server/spice_bitmap_utils.c b/server/spice_bitmap_utils.c
index aa7d71bd..ddbd2a93 100644
--- a/server/spice_bitmap_utils.c
+++ b/server/spice_bitmap_utils.c
@@ -1,3 +1,6 @@
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
#include <stdio.h>
#include "common/log.h"
diff --git a/server/spice_image_cache.c b/server/spice_image_cache.c
index 291094c3..c20eac8f 100644
--- a/server/spice_image_cache.c
+++ b/server/spice_image_cache.c
@@ -1,3 +1,6 @@
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
#include "spice_image_cache.h"
static ImageCacheItem *image_cache_find(ImageCache *cache, uint64_t id)
diff --git a/server/tests/replay.c b/server/tests/replay.c
index a17037cb..220bfe72 100644
--- a/server/tests/replay.c
+++ b/server/tests/replay.c
@@ -1,6 +1,10 @@
/* Replay a previously recorded file (via SPICE_WORKER_RECORD_FILENAME)
*/
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
#include <string.h>
#include <stdlib.h>
#include <stdio.h>