Revert "remove unused io.h include"

This reverts commit cb485806c3. Fixes #491.
This commit is contained in:
derselbst 2018-12-22 16:01:12 +01:00
parent 458cea0aff
commit 06ec2d4e67
3 changed files with 8 additions and 0 deletions

View File

@ -201,6 +201,7 @@ if ( WIN32 )
# Check presence of MS include files
check_include_file ( windows.h HAVE_WINDOWS_H )
check_include_file ( io.h HAVE_IO_H )
check_include_file ( dsound.h HAVE_DSOUND_H )
check_include_files ( "windows.h;mmsystem.h" HAVE_MMSYSTEM_H )

View File

@ -43,6 +43,9 @@
/* Define to 1 if you have the <inttypes.h> header file. */
#cmakedefine HAVE_INTTYPES_H @HAVE_INTTYPES_H@
/* Define to 1 if you have the <io.h> header file. */
#cmakedefine HAVE_IO_H @HAVE_IO_H@
/* whether or not we are supporting lash */
#cmakedefine HAVE_LASH @HAVE_LASH@

View File

@ -106,6 +106,10 @@
#include <omp.h>
#endif
#if HAVE_IO_H
#include <io.h>
#endif
#if HAVE_SIGNAL_H
#include <signal.h>
#endif