random.patch 417 B

1234567891011121314151617
  1. diff -r 9a85d733a43d lib/polyhedron.cpp
  2. --- a/lib/polyhedron.cpp Tue Jun 24 11:15:23 2014 +1000
  3. +++ b/lib/polyhedron.cpp Thu Nov 13 17:36:06 2014 +0500
  4. @@ -36,7 +36,11 @@
  5. #include <carve/mesh.hpp>
  6. -#include BOOST_INCLUDE(random.hpp)
  7. +#ifdef HAVE_BOOST_LIBRARY
  8. +# include BOOST_INCLUDE(random.hpp)
  9. +#else
  10. +# include <carve/random/random.h>
  11. +#endif
  12. namespace {
  13. bool emb_test(carve::poly::Polyhedron *poly,