cmocka: Include cmocka_private.h after cmocka.h
[platform/upstream/cmocka.git] / tests / test_assert_macros_fail.c
index 5e83996..aea919a 100644 (file)
@@ -3,8 +3,8 @@
 #include <stdarg.h>
 #include <stddef.h>
 #include <setjmp.h>
-#include <cmocka_private.h>
 #include <cmocka.h>
+#include <cmocka_private.h>
 
 #include <errno.h>
 #include <sys/types.h>
@@ -12,6 +12,9 @@
 #ifdef HAVE_UNISTD_H
 #include <unistd.h>
 #endif
+#ifdef HAVE_IO_H
+#include <io.h>
+#endif
 #include <fcntl.h>
 
 /**************************************