summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChristophe Fergeau <cfergeau@redhat.com>2015-10-07 17:16:25 +0200
committerChristophe Fergeau <cfergeau@redhat.com>2015-10-19 14:25:36 +0200
commitc0b2b1fc492cb137eb1115e652f2ca97cc331106 (patch)
tree9422ebe843e7fe2b39fb0023273b6a49400df781
parent31eb8eeecbd1839180bf994e4ec1808bc71aad46 (diff)
downloadspice-c0b2b1fc492cb137eb1115e652f2ca97cc331106.tar.gz
spice-c0b2b1fc492cb137eb1115e652f2ca97cc331106.tar.xz
spice-c0b2b1fc492cb137eb1115e652f2ca97cc331106.zip
syntax-check: Add missing #include <config.h>
-rw-r--r--server/pixmap-cache.c4
-rw-r--r--server/spice_bitmap_utils.c3
-rw-r--r--server/spice_image_cache.c3
-rw-r--r--server/tests/replay.c4
4 files changed, 14 insertions, 0 deletions
diff --git a/server/pixmap-cache.c b/server/pixmap-cache.c
index 61d225e8..a4852685 100644
--- a/server/pixmap-cache.c
+++ b/server/pixmap-cache.c
@@ -14,6 +14,10 @@
You should have received a copy of the GNU Lesser General Public
License along with this library; if not, see <http://www.gnu.org/licenses/>.
*/
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
#include "pixmap-cache.h"
int pixmap_cache_unlocked_set_lossy(PixmapCache *cache, uint64_t id, int lossy)
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>