aboutsummaryrefslogtreecommitdiff
path: root/lib/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 /lib/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 'lib/tar')
-rw-r--r--lib/tar/read_retry.c1
-rw-r--r--lib/tar/write_retry.c1
2 files changed, 0 insertions, 2 deletions
diff --git a/lib/tar/read_retry.c b/lib/tar/read_retry.c
index f81c52a..c76e5e5 100644
--- a/lib/tar/read_retry.c
+++ b/lib/tar/read_retry.c
@@ -6,7 +6,6 @@
*/
#include "config.h"
-#include <unistd.h>
#include <errno.h>
#include <stdio.h>
diff --git a/lib/tar/write_retry.c b/lib/tar/write_retry.c
index 3977db1..f4f3166 100644
--- a/lib/tar/write_retry.c
+++ b/lib/tar/write_retry.c
@@ -6,7 +6,6 @@
*/
#include "config.h"
-#include <unistd.h>
#include <errno.h>
#include <stdio.h>