瀏覽代碼

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

Nathalie Furmento 11 年之前
父節點
當前提交
acd676ce88
共有 1 個文件被更改,包括 4 次插入0 次删除
  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 <core/perfmodel/perfmodel.h>
 #include "../helper.h"
 #include "../helper.h"
 
 
+#ifdef STARPU_HAVE_WINDOWS
+#include <io.h>
+#endif
+
 #define STRING "booh"
 #define STRING "booh"
 
 
 int _check_number(double val, int nan)
 int _check_number(double val, int nan)