1
0
mirror of https://git.libssh.org/projects/libssh.git synced 2025-11-30 13:01:23 +03:00

cmake: Check for io.h on Windows

Signed-off-by: Andreas Schneider <asn@cryptomilk.org>
This commit is contained in:
Andreas Schneider
2016-11-06 11:57:52 +01:00
parent 528b9c5323
commit 5d1a8cd88b
5 changed files with 12 additions and 7 deletions

View File

@@ -59,9 +59,9 @@
#include <shlobj.h>
#include <direct.h>
#if _MSC_VER >= 1400
# include <io.h>
#endif /* _MSC_VER */
#ifdef HAVE_IO_H
#include <io.h>
#endif /* HAVE_IO_H */
#endif /* _WIN32 */