diff --git a/plugins/input/pgraster/pgraster_wkb_reader.cpp b/plugins/input/pgraster/pgraster_wkb_reader.cpp index f67950a98..586f3f0ed 100644 --- a/plugins/input/pgraster/pgraster_wkb_reader.cpp +++ b/plugins/input/pgraster/pgraster_wkb_reader.cpp @@ -40,6 +40,8 @@ // boost #include +#include + namespace { uint8_t @@ -48,7 +50,7 @@ read_uint8(const uint8_t** from) { } uint16_t -read_uint16(const boost::uint8_t** from, boost::uint8_t littleEndian) { +read_uint16(const uint8_t** from, uint8_t littleEndian) { uint16_t ret = 0; if (littleEndian) { @@ -71,7 +73,7 @@ read_int16(const uint8_t** from, uint8_t littleEndian) { } double -read_float64(const boost::uint8_t** from, boost::uint8_t littleEndian) { +read_float64(const uint8_t** from, uint8_t littleEndian) { union { double d; @@ -104,7 +106,7 @@ read_float64(const boost::uint8_t** from, boost::uint8_t littleEndian) { } uint32_t -read_uint32(const boost::uint8_t** from, boost::uint8_t littleEndian) { +read_uint32(const uint8_t** from, uint8_t littleEndian) { uint32_t ret = 0; if (littleEndian) { @@ -125,7 +127,7 @@ read_uint32(const boost::uint8_t** from, boost::uint8_t littleEndian) { } int32_t -read_int32(const boost::uint8_t** from, boost::uint8_t littleEndian) { +read_int32(const uint8_t** from, uint8_t littleEndian) { return read_uint32(from, littleEndian); }