summaryrefslogtreecommitdiffstats
path: root/server
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 /server
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
Diffstat (limited to 'server')
-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
10 files changed, 10 insertions, 0 deletions
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>