summaryrefslogtreecommitdiff
path: root/tar
diff options
context:
space:
mode:
authorSergiu Dotenco <sergiu.dotenco@gmail.com>2015-03-23 14:07:38 +0100
committerSergiu Dotenco <sergiu.dotenco@gmail.com>2015-03-23 14:11:53 +0100
commit6007612612e09fc2713d3ca5578142635128ca1f (patch)
tree2c2e1b20cd6469c69361e45338d26480cc438af6 /tar
parent227d528b0686242e26f2bc2edb31e156bb409fdc (diff)
downloadlibarchive-6007612612e09fc2713d3ca5578142635128ca1f.tar.gz
fixed another compilation error
Diffstat (limited to 'tar')
-rw-r--r--tar/read.c10
1 files changed, 10 insertions, 0 deletions
diff --git a/tar/read.c b/tar/read.c
index 430cff04..6ca9f377 100644
--- a/tar/read.c
+++ b/tar/read.c
@@ -39,9 +39,19 @@ __FBSDID("$FreeBSD: src/usr.bin/tar/read.c,v 1.40 2008/08/21 06:41:14 kientzle E
#ifdef HAVE_ERRNO_H
#include <errno.h>
#endif
+
+#ifdef HAVE_FCNTL_H
+#include <fcntl.h>
+#endif
+
#ifdef HAVE_GRP_H
#include <grp.h>
#endif
+
+#ifdef HAVE_IO_H
+#include <io.h>
+#endif
+
#ifdef HAVE_LIMITS_H
#include <limits.h>
#endif