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" {