Fix compile under Ubuntu 64bit
authorMarco Costalba <mcostalba@gmail.com>
Mon, 3 Nov 2008 21:05:41 +0000 (22:05 +0100)
committerMarco Costalba <mcostalba@gmail.com>
Tue, 4 Nov 2008 19:56:30 +0000 (20:56 +0100)
Some missing includes.

Signed-off-by: Marco Costalba <mcostalba@gmail.com>
src/history.cpp
src/material.cpp
src/pawns.cpp
src/square.h
src/tt.cpp

index d5632986c5df62ef754329d294d8832d1f4a4691..52e362196090e119136f80f5d9644c46466e9972 100644 (file)
@@ -23,6 +23,7 @@
 ////
 
 #include <cassert>
+#include <cstring>
 
 #include "history.h"
 
index 9f0fb9ed295fba16038a89081a8ab92c56cab797..595eee2983b087e428ec0f09156e88189028a298 100644 (file)
@@ -23,6 +23,7 @@
 ////
 
 #include <cassert>
+#include <cstring>
 #include <map>
 
 #include "material.h"
index 0089c42da28a818ec3ae0bca16331e2c1bb45c0d..6fdd5c130ea57b372d574ee0cd2b6b744d3c412d 100644 (file)
@@ -23,6 +23,7 @@
 ////
 
 #include <cassert>
+#include <cstring>
 
 #include "pawns.h"
 
index ff31e8653ecb4407d297a5568f3c446c290b982e..ed0b289b7e902b394517c58011f92d570c9e2489 100644 (file)
@@ -25,6 +25,7 @@
 //// Includes
 ////
 
+#include <cstdlib> // for abs()
 #include <string>
 
 #include "color.h"
index 4ac685d51e4c9ac464bb343fc4eaa21278a8b007..97ca23dc43a6ab3c926520f0194235533815c68f 100644 (file)
@@ -24,6 +24,7 @@
 
 #include <cassert>
 #include <cmath>
+#include <cstring>
 
 #include "tt.h"