summaryrefslogtreecommitdiff
path: root/include/highlevel.h
diff options
context:
space:
mode:
authorDavid Oberhollenzer <david.oberhollenzer@sigma-star.at>2019-09-27 22:54:44 +0200
committerDavid Oberhollenzer <david.oberhollenzer@sigma-star.at>2019-09-27 22:54:44 +0200
commitba4811b1d2ac5a9d363e6000c83098f2eb885119 (patch)
tree776184456b7a9181cd29bf23e0e214e5a67dd462 /include/highlevel.h
parent2f1b5d44343aac079af2671e97aa3ffd5c7e4b66 (diff)
Add a header for platform compatibillity fluff
- We don't have "endian.h" everywhere. On some BSDs its in sys and on some BSDs the macros have different names. - We definitely don't have sysmacros.h on non-Unix-like systems. - Likewise for sys/types.h, sys/stat.h and their contents. Signed-off-by: David Oberhollenzer <david.oberhollenzer@sigma-star.at>
Diffstat (limited to 'include/highlevel.h')
-rw-r--r--include/highlevel.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/include/highlevel.h b/include/highlevel.h
index 13c85a7..6e4ad5e 100644
--- a/include/highlevel.h
+++ b/include/highlevel.h
@@ -22,12 +22,11 @@
#include "sqfs/xattr.h"
#include "sqfs/dir.h"
#include "sqfs/io.h"
+#include "compat.h"
#include "fstree.h"
#include "util.h"
#include "tar.h"
-#include <sys/stat.h>
-#include <stdint.h>
#include <stddef.h>
typedef struct {