[PATCH 07/11] syntax-check: make sure config.h is the first included .h file

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



---
 server/char_device.c        | 1 +
 server/spice_timer_queue.c  | 1 +
 server/tests/test_vdagent.c | 2 +-
 3 files changed, 3 insertions(+), 1 deletion(-)

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>

-- 
1.8.1.4

_______________________________________________
Spice-devel mailing list
Spice-devel@xxxxxxxxxxxxxxxxxxxxx
http://lists.freedesktop.org/mailman/listinfo/spice-devel




[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [ECOS]     [Asterisk Internet PBX]     [Linux API]     [Monitors]