diff options
Diffstat (limited to 'extern/carve/lib/polyhedron.cpp')
-rw-r--r-- | extern/carve/lib/polyhedron.cpp | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/extern/carve/lib/polyhedron.cpp b/extern/carve/lib/polyhedron.cpp index 7f65da8c125..d402fce36df 100644 --- a/extern/carve/lib/polyhedron.cpp +++ b/extern/carve/lib/polyhedron.cpp @@ -36,7 +36,11 @@ #include <carve/mesh.hpp> -#include BOOST_INCLUDE(random.hpp) +#ifdef HAVE_BOOST_LIBRARY +# include BOOST_INCLUDE(random.hpp) +#else +# include <carve/random/random.h> +#endif namespace { bool emb_test(carve::poly::Polyhedron *poly, |