--- ./src/hcidump.c.orig +++ ./src/hcidump.c @@ -51,6 +51,8 @@ #include "parser/sdp.h" #if __BYTE_ORDER == __LITTLE_ENDIAN +#if 0 +/* defined in bluetooth.h from bluez */ static inline uint64_t ntoh64(uint64_t n) { uint64_t h; @@ -59,6 +61,7 @@ h |= tmp << 32; return h; } +#endif #elif __BYTE_ORDER == __BIG_ENDIAN #define ntoh64(x) (x) #else