From 02d65652346e3e42da7302c2967fe55201da0bda Mon Sep 17 00:00:00 2001 From: kervala Date: Tue, 26 Mar 2013 13:56:16 +0100 Subject: [PATCH] fixes #32 build failure/error using clang --- code/nel/include/nel/misc/cdb_check_sum.h | 2 ++ code/nel/src/misc/cdb.cpp | 2 +- code/nel/src/misc/cdb_bank_handler.cpp | 1 + code/nel/src/misc/cdb_branch.cpp | 2 +- code/nel/src/misc/cdb_branch_observing_handler.cpp | 1 + code/nel/src/misc/cdb_check_sum.cpp | 3 +-- code/nel/src/misc/cdb_leaf.cpp | 2 +- code/nel/src/misc/cdb_manager.cpp | 1 + 8 files changed, 9 insertions(+), 5 deletions(-) diff --git a/code/nel/include/nel/misc/cdb_check_sum.h b/code/nel/include/nel/misc/cdb_check_sum.h index d8533b3b9..126656ce3 100644 --- a/code/nel/include/nel/misc/cdb_check_sum.h +++ b/code/nel/include/nel/misc/cdb_check_sum.h @@ -21,6 +21,8 @@ #include "types_nl.h" +#include + namespace NLMISC{ /** diff --git a/code/nel/src/misc/cdb.cpp b/code/nel/src/misc/cdb.cpp index 921d317b6..0a38dc71d 100644 --- a/code/nel/src/misc/cdb.cpp +++ b/code/nel/src/misc/cdb.cpp @@ -14,7 +14,7 @@ // You should have received a copy of the GNU Affero General Public License // along with this program. If not, see . - +#include "stdmisc.h" ////////////// // Includes // diff --git a/code/nel/src/misc/cdb_bank_handler.cpp b/code/nel/src/misc/cdb_bank_handler.cpp index 63bf63db9..58843455d 100644 --- a/code/nel/src/misc/cdb_bank_handler.cpp +++ b/code/nel/src/misc/cdb_bank_handler.cpp @@ -14,6 +14,7 @@ // You should have received a copy of the GNU Affero General Public License // along with this program. If not, see . +#include "stdmisc.h" #include "nel/misc/cdb_bank_handler.h" namespace NLMISC{ diff --git a/code/nel/src/misc/cdb_branch.cpp b/code/nel/src/misc/cdb_branch.cpp index 92f777574..998ea8cd3 100644 --- a/code/nel/src/misc/cdb_branch.cpp +++ b/code/nel/src/misc/cdb_branch.cpp @@ -14,7 +14,7 @@ // You should have received a copy of the GNU Affero General Public License // along with this program. If not, see . - +#include "stdmisc.h" //#define TRACE_READ_DELTA //#define TRACE_WRITE_DELTA diff --git a/code/nel/src/misc/cdb_branch_observing_handler.cpp b/code/nel/src/misc/cdb_branch_observing_handler.cpp index 429877233..8e6335533 100644 --- a/code/nel/src/misc/cdb_branch_observing_handler.cpp +++ b/code/nel/src/misc/cdb_branch_observing_handler.cpp @@ -14,6 +14,7 @@ // You should have received a copy of the GNU Affero General Public License // along with this program. If not, see . +#include "stdmisc.h" #include "nel/misc/cdb_branch_observing_handler.h" namespace NLMISC{ diff --git a/code/nel/src/misc/cdb_check_sum.cpp b/code/nel/src/misc/cdb_check_sum.cpp index 822f480a8..d3619299d 100644 --- a/code/nel/src/misc/cdb_check_sum.cpp +++ b/code/nel/src/misc/cdb_check_sum.cpp @@ -14,8 +14,7 @@ // You should have received a copy of the GNU Affero General Public License // along with this program. If not, see . - - +#include "stdmisc.h" #include "nel/misc/cdb_check_sum.h" diff --git a/code/nel/src/misc/cdb_leaf.cpp b/code/nel/src/misc/cdb_leaf.cpp index a38f4bfae..049791923 100644 --- a/code/nel/src/misc/cdb_leaf.cpp +++ b/code/nel/src/misc/cdb_leaf.cpp @@ -14,7 +14,7 @@ // You should have received a copy of the GNU Affero General Public License // along with this program. If not, see . - +#include "stdmisc.h" //#define TRACE_READ_DELTA //#define TRACE_WRITE_DELTA diff --git a/code/nel/src/misc/cdb_manager.cpp b/code/nel/src/misc/cdb_manager.cpp index 8c2c49922..db743416d 100644 --- a/code/nel/src/misc/cdb_manager.cpp +++ b/code/nel/src/misc/cdb_manager.cpp @@ -14,6 +14,7 @@ // You should have received a copy of the GNU Affero General Public License // along with this program. If not, see . +#include "stdmisc.h" #include "nel/misc/cdb_manager.h" namespace NLMISC{