--- src/Basescape/CraftInfoState.cpp.orig	2014-06-13 19:14:43 UTC
+++ src/Basescape/CraftInfoState.cpp
@@ -17,6 +17,7 @@
  * along with OpenXcom.  If not, see <http://www.gnu.org/licenses/>.
  */
 #include "CraftInfoState.h"
+#include <cmath>
 #include <sstream>
 #include "../Engine/Game.h"
 #include "../Resource/ResourcePack.h"
