summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDaniel P. Berrange <berrange@redhat.com>2012-01-10 15:16:03 +0000
committerAlon Levy <alevy@redhat.com>2012-01-13 18:11:59 +0200
commit7427b23d84007018bc6569d0dba7776d4d527381 (patch)
tree6ee22c9d66001f56edc0139f42f080ad2b9fa5cc
parentd46bc7727818aa08f3dcb207bfca96768e63e342 (diff)
downloadspice-7427b23d84007018bc6569d0dba7776d4d527381.tar.gz
spice-7427b23d84007018bc6569d0dba7776d4d527381.tar.xz
spice-7427b23d84007018bc6569d0dba7776d4d527381.zip
Add missing includes of config.h
Not all files were including config.h
-rw-r--r--common/backtrace.c2
-rw-r--r--server/dispatcher.c1
-rw-r--r--server/main_dispatcher.c1
-rw-r--r--server/tests/basic_event_loop.c1
-rw-r--r--server/tests/test_display_base.c1
-rw-r--r--server/tests/test_display_no_ssl.c1
-rw-r--r--server/tests/test_display_streaming.c1
-rw-r--r--server/tests/test_empty_success.c1
-rw-r--r--server/tests/test_fail_on_null_core_interface.c1
-rw-r--r--server/tests/test_just_sockets_no_ssl.c1
-rw-r--r--server/tests/test_playback.c1
-rw-r--r--tools/bitmap_to_c.c1
-rw-r--r--tools/icon_to_c.c1
-rw-r--r--tools/reds_stat.c1
14 files changed, 14 insertions, 1 deletions
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 <config.h>
#include <unistd.h>
#include <stdlib.h>
#include <stdio.h>
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 <config.h>
#include <unistd.h>
#include <errno.h>
#include <assert.h>
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 <config.h>
#include <unistd.h>
#include <string.h>
#include <errno.h>
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 <config.h>
#include <stdlib.h>
#include <stdio.h>
#include <sys/time.h>
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 <config.h>
#include <stdlib.h>
#include <math.h>
#include <string.h>
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 <config.h>
#include <stdlib.h>
#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 <config.h>
#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 <config.h>
#include <stdlib.h>
#include <spice.h>
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 <config.h>
#include <spice.h>
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 <config.h>
#include <sys/select.h>
#include <spice.h>
#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 <config.h>
#include <stdio.h>
#include <sys/select.h>
#include <sys/time.h>
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 <http://www.gnu.org/licenses/>.
*/
+#include <config.h>
#include <string.h>
#include <stdint.h>
#include <unistd.h>
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 <http://www.gnu.org/licenses/>.
*/
+#include <config.h>
#include <string.h>
#include <stdint.h>
#include <unistd.h>
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 <config.h>
#include <sys/types.h>
#include <sys/mman.h>
#include <fcntl.h>