diff --git a/src/BRepMesh/delabella.cpp b/src/BRepMesh/delabella.cpp index e88ccf297f..c6e5260a19 100644 --- a/src/BRepMesh/delabella.cpp +++ b/src/BRepMesh/delabella.cpp @@ -27,7 +27,11 @@ SOFTWARE. #include #include -#include + +// gcc 4.9 for Android doesn't have search.h +#if !defined(__ANDROID__) || defined(__clang__) + #include +#endif #if (defined(__APPLE__)) #include diff --git a/src/Standard/Standard_CString.hxx b/src/Standard/Standard_CString.hxx index 451fc2f534..3513016ad8 100644 --- a/src/Standard/Standard_CString.hxx +++ b/src/Standard/Standard_CString.hxx @@ -16,12 +16,13 @@ //! Functions working with plain C strings #ifndef _Standard_CString_HeaderFile -# define _Standard_CString_HeaderFile +#define _Standard_CString_HeaderFile #include -# include -# include +#include +#include +#include # if defined(_MSC_VER) && ! defined(strcasecmp) # define strcasecmp _stricmp