浏览代码

std::sqrt needs cmath.

Frank Zago 15 年之前
父节点
当前提交
127408e379
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      int3.h

+ 1 - 1
int3.h

@@ -1,7 +1,6 @@
 #ifndef __INT3_H__
 #define __INT3_H__
 
-
 /*
  * int3.h, part of VCMI engine
  *
@@ -12,6 +11,7 @@
  *
  */
 
+#include <cmath>
 
 class int3
 {