test: Fix the win32 build
authorAndrea Canciani <ranma42@gmail.com>
Mon, 11 Nov 2013 10:21:23 +0000 (11:21 +0100)
committerSøren Sandmann <ssp@redhat.com>
Tue, 12 Nov 2013 00:09:28 +0000 (19:09 -0500)
The win32 build has no config.h, so HAVE_CONFIG_H should be checked
before including it, as in utils.h.

test/thread-test.c

index fa219330269b79040a63b22fe30278d5e194cb63..0b07b269d191c952bead3c8f97432e20d5b01b07 100644 (file)
@@ -1,4 +1,4 @@
-#include <config.h>
+#include "utils.h"
 
 #ifndef HAVE_PTHREADS
 
@@ -12,7 +12,6 @@ int main ()
 
 #include <stdlib.h>
 #include <pthread.h>
-#include "utils.h"
 
 typedef struct
 {