From 7427b23d84007018bc6569d0dba7776d4d527381 Mon Sep 17 00:00:00 2001 From: "Daniel P. Berrange" Date: Tue, 10 Jan 2012 15:16:03 +0000 Subject: Add missing includes of config.h Not all files were including config.h --- common/backtrace.c | 2 +- server/dispatcher.c | 1 + server/main_dispatcher.c | 1 + server/tests/basic_event_loop.c | 1 + server/tests/test_display_base.c | 1 + server/tests/test_display_no_ssl.c | 1 + server/tests/test_display_streaming.c | 1 + server/tests/test_empty_success.c | 1 + server/tests/test_fail_on_null_core_interface.c | 1 + server/tests/test_just_sockets_no_ssl.c | 1 + server/tests/test_playback.c | 1 + tools/bitmap_to_c.c | 1 + tools/icon_to_c.c | 1 + tools/reds_stat.c | 1 + 14 files changed, 14 insertions(+), 1 deletion(-) diff --git a/common/backtrace.c b/common/backtrace.c index 4e2555ac..c8f46263 100644 --- a/common/backtrace.c +++ b/common/backtrace.c @@ -21,7 +21,7 @@ * Copyright (C) 2008 Red Hat, Inc. */ -#include "config.h" +#include #include #include #include diff --git a/server/dispatcher.c b/server/dispatcher.c index 90e46e36..b123fa82 100644 --- a/server/dispatcher.c +++ b/server/dispatcher.c @@ -1,3 +1,4 @@ +#include #include #include #include diff --git a/server/main_dispatcher.c b/server/main_dispatcher.c index 2ccf5346..cf44b408 100644 --- a/server/main_dispatcher.c +++ b/server/main_dispatcher.c @@ -1,3 +1,4 @@ +#include #include #include #include diff --git a/server/tests/basic_event_loop.c b/server/tests/basic_event_loop.c index 7e575276..c0ee705c 100644 --- a/server/tests/basic_event_loop.c +++ b/server/tests/basic_event_loop.c @@ -1,3 +1,4 @@ +#include #include #include #include diff --git a/server/tests/test_display_base.c b/server/tests/test_display_base.c index b31e6fba..ef5a543f 100644 --- a/server/tests/test_display_base.c +++ b/server/tests/test_display_base.c @@ -1,3 +1,4 @@ +#include #include #include #include diff --git a/server/tests/test_display_no_ssl.c b/server/tests/test_display_no_ssl.c index 3877c8d8..a27bb001 100644 --- a/server/tests/test_display_no_ssl.c +++ b/server/tests/test_display_no_ssl.c @@ -6,6 +6,7 @@ * existing ones in the test_display_base supplied queue. */ +#include #include #include "test_display_base.h" diff --git a/server/tests/test_display_streaming.c b/server/tests/test_display_streaming.c index e7d5156a..025541d6 100644 --- a/server/tests/test_display_streaming.c +++ b/server/tests/test_display_streaming.c @@ -4,6 +4,7 @@ * TODO: stop updating same rect, check (prog) that stream stops */ +#include #include "test_display_base.h" int simple_commands[] = { diff --git a/server/tests/test_empty_success.c b/server/tests/test_empty_success.c index 63cf2a27..fb46aa89 100644 --- a/server/tests/test_empty_success.c +++ b/server/tests/test_empty_success.c @@ -1,3 +1,4 @@ +#include #include #include diff --git a/server/tests/test_fail_on_null_core_interface.c b/server/tests/test_fail_on_null_core_interface.c index 105dd639..23261a26 100644 --- a/server/tests/test_fail_on_null_core_interface.c +++ b/server/tests/test_fail_on_null_core_interface.c @@ -1,3 +1,4 @@ +#include #include int main(void) diff --git a/server/tests/test_just_sockets_no_ssl.c b/server/tests/test_just_sockets_no_ssl.c index f0218b8a..ac5403b1 100644 --- a/server/tests/test_just_sockets_no_ssl.c +++ b/server/tests/test_just_sockets_no_ssl.c @@ -1,3 +1,4 @@ +#include #include #include #include "basic_event_loop.h" diff --git a/server/tests/test_playback.c b/server/tests/test_playback.c index 1de2d288..ed1b7667 100644 --- a/server/tests/test_playback.c +++ b/server/tests/test_playback.c @@ -1,3 +1,4 @@ +#include #include #include #include diff --git a/tools/bitmap_to_c.c b/tools/bitmap_to_c.c index 7e9b303f..01b925ea 100644 --- a/tools/bitmap_to_c.c +++ b/tools/bitmap_to_c.c @@ -15,6 +15,7 @@ License along with this library; if not, see . */ +#include #include #include #include diff --git a/tools/icon_to_c.c b/tools/icon_to_c.c index 0957c2b0..882330eb 100644 --- a/tools/icon_to_c.c +++ b/tools/icon_to_c.c @@ -15,6 +15,7 @@ License along with this library; if not, see . */ +#include #include #include #include diff --git a/tools/reds_stat.c b/tools/reds_stat.c index 3ff13c8f..39d17afe 100644 --- a/tools/reds_stat.c +++ b/tools/reds_stat.c @@ -16,6 +16,7 @@ */ #define _GNU_SOURCE +#include #include #include #include -- cgit