[Spice-commits] 2 commits - server/cache_item.tmpl.c server/cursor-channel.c server/display-channel.c server/red_bitmap_utils_tmpl.c server/red_dispatcher.c server/tree.c

Pavel Grunt pgrunt at kemper.freedesktop.org
Mon Nov 9 10:41:43 PST 2015


 server/cache_item.tmpl.c       |    4 ++++
 server/cursor-channel.c        |    4 ++++
 server/display-channel.c       |    4 ++++
 server/red_bitmap_utils_tmpl.c |    3 +++
 server/red_dispatcher.c        |    1 -
 server/tree.c                  |    4 ++++
 6 files changed, 19 insertions(+), 1 deletion(-)

New commits:
commit 042652454615bc6c01102ac82b9f2b0b47f697c0
Author: Pavel Grunt <pgrunt at redhat.com>
Date:   Fri Nov 6 15:07:19 2015 +0100

    syntax-check: Add missing #include <config.h>

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"
commit 1eb94c0fb04a426d1ec9030386eda9a598acbdee
Author: Pavel Grunt <pgrunt at redhat.com>
Date:   Fri Nov 6 15:00:11 2015 +0100

    red_dispatcher: Remove unused signal.h include

diff --git a/server/red_dispatcher.c b/server/red_dispatcher.c
index 7855776..3845c5a 100644
--- a/server/red_dispatcher.c
+++ b/server/red_dispatcher.c
@@ -25,7 +25,6 @@
 #include <string.h>
 #include <pthread.h>
 #include <sys/socket.h>
-#include <signal.h>
 #include <inttypes.h>
 
 #include <spice/qxl_dev.h>


More information about the Spice-commits mailing list