summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPavel Grunt <pgrunt@redhat.com>2015-11-06 15:07:19 +0100
committerPavel Grunt <pgrunt@redhat.com>2015-11-09 19:41:28 +0100
commit042652454615bc6c01102ac82b9f2b0b47f697c0 (patch)
treed00e3285c5e33c1109588164daa5f1a89ebafec1
parent1eb94c0fb04a426d1ec9030386eda9a598acbdee (diff)
downloadspice-042652454615bc6c01102ac82b9f2b0b47f697c0.zip
spice-042652454615bc6c01102ac82b9f2b0b47f697c0.tar.gz
spice-042652454615bc6c01102ac82b9f2b0b47f697c0.tar.xz
syntax-check: Add missing #include <config.h>
-rw-r--r--server/cache_item.tmpl.c4
-rw-r--r--server/cursor-channel.c4
-rw-r--r--server/display-channel.c4
-rw-r--r--server/red_bitmap_utils_tmpl.c3
-rw-r--r--server/tree.c4
5 files changed, 19 insertions, 0 deletions
diff --git a/server/cache_item.tmpl.c b/server/cache_item.tmpl.c
index dc314c0..09add79 100644
--- a/server/cache_item.tmpl.c
+++ b/server/cache_item.tmpl.c
@@ -15,6 +15,10 @@
License along with this library; if not, see <http://www.gnu.org/licenses/>.
*/
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
#if defined(CLIENT_CURSOR_CACHE)
#define CACHE_NAME cursor_cache
diff --git a/server/cursor-channel.c b/server/cursor-channel.c
index 6d648b1..aafc807 100644
--- a/server/cursor-channel.c
+++ b/server/cursor-channel.c
@@ -15,6 +15,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 <glib.h>
#include "common/generated_server_marshallers.h"
#include "cursor-channel.h"
diff --git a/server/display-channel.c b/server/display-channel.c
index 5deab13..6aefe09 100644
--- a/server/display-channel.c
+++ b/server/display-channel.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 "display-channel.h"
void display_channel_compress_stats_reset(DisplayChannel *display_channel)
diff --git a/server/red_bitmap_utils_tmpl.c b/server/red_bitmap_utils_tmpl.c
index df13c81..35f8227 100644
--- a/server/red_bitmap_utils_tmpl.c
+++ b/server/red_bitmap_utils_tmpl.c
@@ -14,6 +14,9 @@
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
#ifdef RED_BITMAP_UTILS_RGB16
#define PIXEL rgb16_pixel_t
diff --git a/server/tree.c b/server/tree.c
index 64fa6db..bf50edf 100644
--- a/server/tree.c
+++ b/server/tree.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 <spice/qxl_dev.h>
#include "red_parse_qxl.h"
#include "display-channel.h"