diff options
author | Andreas Schneider <asn@cryptomilk.org> | 2015-02-11 18:13:55 +0100 |
---|---|---|
committer | Andreas Schneider <asn@cryptomilk.org> | 2015-02-11 18:13:55 +0100 |
commit | 328288bd88a043cf2fefcd10f1efd892414f4a11 (patch) | |
tree | 2510ed128b3f4abe0424740707acc707ee184f71 /tests | |
parent | f7a55ba7805b6f41c640e86f33394bbe48d595e5 (diff) | |
download | cmocka-328288bd88a043cf2fefcd10f1efd892414f4a11.tar.gz cmocka-328288bd88a043cf2fefcd10f1efd892414f4a11.tar.bz2 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.c | 3 |
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> /************************************** |