aboutsummaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorAndreas Schneider <asn@cryptomilk.org>2015-02-11 18:13:55 +0100
committerAndreas Schneider <asn@cryptomilk.org>2015-02-11 18:13:55 +0100
commit328288bd88a043cf2fefcd10f1efd892414f4a11 (patch)
tree2510ed128b3f4abe0424740707acc707ee184f71 /tests
parentf7a55ba7805b6f41c640e86f33394bbe48d595e5 (diff)
downloadcmocka-328288bd88a043cf2fefcd10f1efd892414f4a11.tar.gz
cmocka-328288bd88a043cf2fefcd10f1efd892414f4a11.tar.xz
cmocka-328288bd88a043cf2fefcd10f1efd892414f4a11.zip
tests: Add io.h for open() and close() on Windows.
Signed-off-by: Andreas Schneider <asn@cryptomilk.org>
Diffstat (limited to 'tests')
-rw-r--r--tests/test_assert_macros_fail.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/tests/test_assert_macros_fail.c b/tests/test_assert_macros_fail.c
index 5e83996..fea3df5 100644
--- a/tests/test_assert_macros_fail.c
+++ b/tests/test_assert_macros_fail.c
@@ -12,6 +12,9 @@
#ifdef HAVE_UNISTD_H
#include <unistd.h>
#endif
+#ifdef HAVE_IO_H
+#include <io.h>
+#endif
#include <fcntl.h>
/**************************************