cmocka: Include cmocka_private.h after cmocka.h
[platform/upstream/cmocka.git] / tests / test_assert_macros_fail.c
index 2227dfc..aea919a 100644 (file)
@@ -1,12 +1,20 @@
+#include "config.h"
+
 #include <stdarg.h>
 #include <stddef.h>
 #include <setjmp.h>
 #include <cmocka.h>
+#include <cmocka_private.h>
 
 #include <errno.h>
 #include <sys/types.h>
 #include <sys/stat.h>
+#ifdef HAVE_UNISTD_H
 #include <unistd.h>
+#endif
+#ifdef HAVE_IO_H
+#include <io.h>
+#endif
 #include <fcntl.h>
 
 /**************************************