summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Oberhollenzer <david.oberhollenzer@sigma-star.at>2021-03-06 22:31:16 +0100
committerDavid Oberhollenzer <david.oberhollenzer@sigma-star.at>2021-03-06 22:31:16 +0100
commita21a22400f503d5da4e7a592138410ca047e4442 (patch)
tree0c0cf6ce54e07b80371dde1c8af01bfd01c36838
parentc86d4388c1b427f892670c290c8f28751313640a (diff)
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 <david.oberhollenzer@sigma-star.at>
-rw-r--r--tests/libsqfs/table.c1
-rw-r--r--tests/libsqfs/xattr_writer.c1
2 files changed, 2 insertions, 0 deletions
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 <goliath@infraroot.at>
*/
#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 <goliath@infraroot.at>
*/
#include "config.h"
+#include "compat.h"
#include "../test.h"
#include "sqfs/xattr_writer.h"