From 244a589e5de7f1df7e4418a5fec28a3604217353 Mon Sep 17 00:00:00 2001 From: tqchen Date: Wed, 3 Sep 2014 11:31:05 -0700 Subject: [PATCH] change include order, so that Rinternal does not disturb us --- R-package/src/xgboost_R.cpp | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/R-package/src/xgboost_R.cpp b/R-package/src/xgboost_R.cpp index a7753dfa5..9171948eb 100644 --- a/R-package/src/xgboost_R.cpp +++ b/R-package/src/xgboost_R.cpp @@ -3,12 +3,13 @@ #include #include #include -#include "xgboost_R.h" #include "wrapper/xgboost_wrapper.h" #include "src/utils/utils.h" #include "src/utils/omp.h" #include "src/utils/matrix_csr.h" -using namespace std; + +#include "xgboost_R.h" + using namespace xgboost; extern "C" {