From a21a22400f503d5da4e7a592138410ca047e4442 Mon Sep 17 00:00:00 2001 From: David Oberhollenzer Date: Sat, 6 Mar 2021 22:31:16 +0100 Subject: Fix libsqfs test build on OS X Add the missing compat.h header include so we have the correct endian conversion macros. Signed-off-by: David Oberhollenzer --- tests/libsqfs/table.c | 1 + tests/libsqfs/xattr_writer.c | 1 + 2 files changed, 2 insertions(+) diff --git a/tests/libsqfs/table.c b/tests/libsqfs/table.c index a36cd4e..a2cb846 100644 --- a/tests/libsqfs/table.c +++ b/tests/libsqfs/table.c @@ -5,6 +5,7 @@ * Copyright (C) 2021 David Oberhollenzer */ #include "config.h" +#include "compat.h" #include "../test.h" #include "sqfs/compressor.h" diff --git a/tests/libsqfs/xattr_writer.c b/tests/libsqfs/xattr_writer.c index d5252e3..8860f42 100644 --- a/tests/libsqfs/xattr_writer.c +++ b/tests/libsqfs/xattr_writer.c @@ -5,6 +5,7 @@ * Copyright (C) 2021 David Oberhollenzer */ #include "config.h" +#include "compat.h" #include "../test.h" #include "sqfs/xattr_writer.h" -- cgit v1.2.3