Browse Source

tests/perfmodels/value_nan.c: include io.h file when running on windows

Nathalie Furmento 11 years ago
parent
commit
acd676ce88
1 changed files with 4 additions and 0 deletions
  1. 4 0
      tests/perfmodels/value_nan.c

+ 4 - 0
tests/perfmodels/value_nan.c

@@ -18,6 +18,10 @@
 #include <core/perfmodel/perfmodel.h>
 #include "../helper.h"
 
+#ifdef STARPU_HAVE_WINDOWS
+#include <io.h>
+#endif
+
 #define STRING "booh"
 
 int _check_number(double val, int nan)