summaryrefslogtreecommitdiff
path: root/server
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 /server
parent1eb94c0fb04a426d1ec9030386eda9a598acbdee (diff)
syntax-check: Add missing #include <config.h>
Diffstat (limited to 'server')
-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 dc314c05..09add79c 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 6d648b1f..aafc8073 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 5deab130..6aefe090 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 df13c815..35f8227e 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 64fa6db9..bf50edfc 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"