[Pixman] [PATCH] test: Fix the win32 build

Andrea Canciani ranma42 at gmail.com
Mon Nov 11 02:21:23 PST 2013


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 | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/test/thread-test.c b/test/thread-test.c
index fa21933..0b07b26 100644
--- a/test/thread-test.c
+++ b/test/thread-test.c
@@ -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
 {
-- 
1.8.3.4 (Apple Git-47)



More information about the Pixman mailing list