summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorUri Lublin <uril@redhat.com>2013-07-10 00:19:05 +0300
committerUri Lublin <uril@redhat.com>2013-07-16 23:37:29 +0300
commitd45f3bdc6b4624afca1e2d5ecf7badbfb147363c (patch)
treea990d723b056cd5b0ea66bd78d7372c6487ddeb5
parent8b4dde347b2ca27da6f38d2de6f3521eae050510 (diff)
downloadspice-d45f3bdc6b4624afca1e2d5ecf7badbfb147363c.zip
spice-d45f3bdc6b4624afca1e2d5ecf7badbfb147363c.tar.gz
spice-d45f3bdc6b4624afca1e2d5ecf7badbfb147363c.tar.xz
syntax-check: make sure config.h is the first included .h file
-rw-r--r--server/char_device.c1
-rw-r--r--server/spice_timer_queue.c1
-rw-r--r--server/tests/test_vdagent.c2
3 files changed, 3 insertions, 1 deletions
diff --git a/server/char_device.c b/server/char_device.c
index 721bd8d..792ab9c 100644
--- a/server/char_device.c
+++ b/server/char_device.c
@@ -20,6 +20,7 @@
*/
+#include <config.h>
#include "char_device.h"
#include "red_channel.h"
#include "reds.h"
diff --git a/server/spice_timer_queue.c b/server/spice_timer_queue.c
index 690ab83..833ab1d 100644
--- a/server/spice_timer_queue.c
+++ b/server/spice_timer_queue.c
@@ -15,6 +15,7 @@
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/>.
*/
+#include <config.h>
#include <pthread.h>
#include "red_common.h"
#include "spice_timer_queue.h"
diff --git a/server/tests/test_vdagent.c b/server/tests/test_vdagent.c
index bb267dd..af33145 100644
--- a/server/tests/test_vdagent.c
+++ b/server/tests/test_vdagent.c
@@ -2,8 +2,8 @@
* Test vdagent guest to server messages
*/
-#include <string.h>
#include <config.h>
+#include <string.h>
#include <stdlib.h>
#include <stdio.h>