header.patch 1.4 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455
  1. diff --git a/include/liblas/detail/binary.hpp b/include/liblas/detail/binary.hpp
  2. index d3116a1..ab20e06 100644
  3. --- a/include/liblas/detail/binary.hpp
  4. +++ b/include/liblas/detail/binary.hpp
  5. @@ -17,6 +17,8 @@
  6. #ifndef LIBLAS_DETAIL_BINARY_HPP_INCLUDED
  7. #define LIBLAS_DETAIL_BINARY_HPP_INCLUDED
  8. +#include <liblas/detail/endian.hpp>
  9. +
  10. #include <cassert>
  11. #include <climits>
  12. #include <cstring>
  13. @@ -25,7 +27,6 @@
  14. #include <boost/config.hpp>
  15. #include <boost/static_assert.hpp>
  16. -#include <boost/detail/endian.hpp>
  17. #include <boost/type_traits/is_signed.hpp>
  18. #if CHAR_BIT != 8
  19. @@ -43,7 +44,7 @@ namespace detail { namespace binary {
  20. struct big_endian_tag {};
  21. struct little_endian_tag {};
  22. -#ifdef BOOST_BIG_ENDIAN
  23. +#ifdef LIBLAS_BIG_ENDIAN
  24. typedef big_endian_tag native_endian_tag;
  25. #else
  26. typedef little_endian_tag native_endian_tag;
  27. diff --git a/src/c_api.cpp b/src/c_api.cpp
  28. index a70fe74..e8be785 100644
  29. --- a/src/c_api.cpp
  30. +++ b/src/c_api.cpp
  31. @@ -96,6 +96,7 @@ using namespace liblas;
  32. #endif
  33. #include <boost/lambda/lambda.hpp>
  34. +#include <boost/bind.hpp>
  35. bool IsReprojectionTransform(liblas::TransformPtr const& p)
  36. {
  37. diff --git a/src/header.cpp b/src/header.cpp
  38. index 9987ce1..a5c8f7d 100644
  39. --- a/src/header.cpp
  40. +++ b/src/header.cpp
  41. @@ -54,7 +54,7 @@
  42. // boost
  43. #include <boost/cstdint.hpp>
  44. #include <boost/lambda/lambda.hpp>
  45. -
  46. +#include <boost/bind.hpp>
  47. //std
  48. #include <algorithm>
  49. #include <fstream>