Parcourir la source

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

Nathalie Furmento il y a 11 ans
Parent
commit
acd676ce88
1 fichiers modifiés avec 4 ajouts et 0 suppressions
  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)