aboutsummaryrefslogtreecommitdiff
path: root/lib/sqfs
diff options
context:
space:
mode:
authorDavid Oberhollenzer <david.oberhollenzer@sigma-star.at>2019-11-23 16:07:38 +0100
committerDavid Oberhollenzer <david.oberhollenzer@sigma-star.at>2019-11-23 16:07:38 +0100
commitf6afde3c5dcece3b4980cebcde09a9ecca9e20d8 (patch)
tree48294a30843b08709d6c2dbdc1734a14e176c865 /lib/sqfs
parentdd4d7e713290d9cecbebc6933e41d027bac63c8f (diff)
Move some unix header inclusions to compat.h
In most cases, including unistd.h and fcntl.h was a left over anyway. In the cases where it was not, move it to compat.h. Signed-off-by: David Oberhollenzer <david.oberhollenzer@sigma-star.at>
Diffstat (limited to 'lib/sqfs')
-rw-r--r--lib/sqfs/meta_reader.c1
-rw-r--r--lib/sqfs/meta_writer.c1
-rw-r--r--lib/sqfs/super.c1
3 files changed, 0 insertions, 3 deletions
diff --git a/lib/sqfs/meta_reader.c b/lib/sqfs/meta_reader.c
index e8a17ad..0b8b33a 100644
--- a/lib/sqfs/meta_reader.c
+++ b/lib/sqfs/meta_reader.c
@@ -15,7 +15,6 @@
#include "util/util.h"
#include <stdlib.h>
-#include <unistd.h>
#include <string.h>
struct sqfs_meta_reader_t {
diff --git a/lib/sqfs/meta_writer.c b/lib/sqfs/meta_writer.c
index ee92b3b..cdd34e8 100644
--- a/lib/sqfs/meta_writer.c
+++ b/lib/sqfs/meta_writer.c
@@ -16,7 +16,6 @@
#include <string.h>
#include <stdlib.h>
-#include <unistd.h>
typedef struct meta_block_t {
struct meta_block_t *next;
diff --git a/lib/sqfs/super.c b/lib/sqfs/super.c
index 15b185d..18a6736 100644
--- a/lib/sqfs/super.c
+++ b/lib/sqfs/super.c
@@ -13,7 +13,6 @@
#include "util/util.h"
#include <string.h>
-#include <unistd.h>
int sqfs_super_init(sqfs_super_t *super, size_t block_size, sqfs_u32 mtime,
E_SQFS_COMPRESSOR compressor)