aboutsummaryrefslogtreecommitdiff
path: root/tar
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 /tar
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 'tar')
-rw-r--r--tar/sqfs2tar.c1
-rw-r--r--tar/tar2sqfs.c1
2 files changed, 0 insertions, 2 deletions
diff --git a/tar/sqfs2tar.c b/tar/sqfs2tar.c
index 3182439..77f4843 100644
--- a/tar/sqfs2tar.c
+++ b/tar/sqfs2tar.c
@@ -11,7 +11,6 @@
#include <getopt.h>
#include <string.h>
#include <stdlib.h>
-#include <unistd.h>
#include <assert.h>
#include <errno.h>
#include <fcntl.h>
diff --git a/tar/tar2sqfs.c b/tar/tar2sqfs.c
index 69ac5cf..10bb091 100644
--- a/tar/tar2sqfs.c
+++ b/tar/tar2sqfs.c
@@ -10,7 +10,6 @@
#include <stdlib.h>
#include <getopt.h>
-#include <unistd.h>
#include <string.h>
#include <stdio.h>
#include <fcntl.h>