From 042652454615bc6c01102ac82b9f2b0b47f697c0 Mon Sep 17 00:00:00 2001 From: Pavel Grunt Date: Fri, 6 Nov 2015 15:07:19 +0100 Subject: syntax-check: Add missing #include --- server/cache_item.tmpl.c | 4 ++++ server/cursor-channel.c | 4 ++++ server/display-channel.c | 4 ++++ server/red_bitmap_utils_tmpl.c | 3 +++ server/tree.c | 4 ++++ 5 files changed, 19 insertions(+) (limited to 'server') 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 . */ +#ifdef HAVE_CONFIG_H +#include +#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 . */ +#ifdef HAVE_CONFIG_H +#include +#endif + #include #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 . */ +#ifdef HAVE_CONFIG_H +#include +#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 . */ +#ifdef HAVE_CONFIG_H +#include +#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 . */ +#ifdef HAVE_CONFIG_H +#include +#endif + #include #include "red_parse_qxl.h" #include "display-channel.h" -- cgit v1.2.3