Macros and functions starting with two underscores are usually internal and shouldn't be used by applications when a version without "__" is available. Include byteswap.h explicitly since bswap_64() is defined there. Signed-off-by: Rostislav Skudnov <rostislav@xxxxxxxxxx> --- src/fssum.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/fssum.c b/src/fssum.c index 13111d6..46e02ba 100644 --- a/src/fssum.c +++ b/src/fssum.c @@ -40,6 +40,7 @@ #include <netinet/in.h> #include <inttypes.h> #include <assert.h> +#include <byteswap.h> #define CS_SIZE 16 #define CHUNKS 128 @@ -51,7 +52,7 @@ #endif #if __BYTE_ORDER == __LITTLE_ENDIAN -#define htonll(x) __bswap_64 (x) +#define htonll(x) bswap_64 (x) #else #define htonll(x) (x) #endif -- 2.1.4 -- To unsubscribe from this list: send the line "unsubscribe fstests" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html