From f98385e1297a5d503e4ff933cdadc882465a1e6c Mon Sep 17 00:00:00 2001 From: Joona Kiiski Date: Sun, 19 Apr 2009 19:46:07 +0300 Subject: [PATCH] Add missing header file to make stockfish compile with latest Inter C++ Compiler under Linux (memcpy needs cstring) Correct some references glaurung -> stockfish in Makefile Signed-off-by: Marco Costalba --- src/Makefile | 4 ++-- src/search.cpp | 1 + 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/src/Makefile b/src/Makefile index e9cbeda9..335c6d8c 100644 --- a/src/Makefile +++ b/src/Makefile @@ -37,7 +37,7 @@ OBJS = bitboard.o pawns.o material.o endgame.o evaluate.o main.o \ all: $(EXE) .depend clean: - $(RM) *.o .depend glaurung + $(RM) *.o .depend stockfish ### @@ -94,7 +94,7 @@ CXXFLAGS += -wd383,869,981 # Profiler guided optimization with the Intel C++ compiler. To use it, first # create the directory ./profdata if it does not already exist, and delete its # contents if it does exist. Then compile with -prof_gen, and run the -# resulting binary for a while (for instance, do ./glaurung bench 128 1, and +# resulting binary for a while (for instance, do ./stockfish bench 128 1, and # wait 15 minutes for the benchmark to complete). Then do a 'make clean', and # recompile with -prof_use. diff --git a/src/search.cpp b/src/search.cpp index cc493116..4d7195b3 100644 --- a/src/search.cpp +++ b/src/search.cpp @@ -23,6 +23,7 @@ //// #include +#include #include #include #include -- 2.39.2