[waffle] [PATCH 04/29] tests/gl_basic: fold ifndef _WIN32 blocks
Emil Velikov
emil.l.velikov at gmail.com
Wed Jan 6 13:27:30 PST 2016
Signed-off-by: Emil Velikov <emil.l.velikov at gmail.com>
---
tests/functional/gl_basic_test.c | 7 ++-----
1 file changed, 2 insertions(+), 5 deletions(-)
diff --git a/tests/functional/gl_basic_test.c b/tests/functional/gl_basic_test.c
index d19b8ae..c95ae39 100644
--- a/tests/functional/gl_basic_test.c
+++ b/tests/functional/gl_basic_test.c
@@ -39,17 +39,14 @@
#include <stdlib.h>
#include <string.h>
#include <getopt.h>
+#include <sys/types.h>
#if !defined(_WIN32)
#include <unistd.h>
+#include <sys/wait.h>
#else
#include <windows.h>
#endif
-#include <sys/types.h>
-#if !defined(_WIN32)
-#include <sys/wait.h>
-#endif
-
#include "waffle.h"
#include "waffle_test/waffle_test.h"
--
2.6.2
More information about the waffle
mailing list