aboutsummaryrefslogtreecommitdiff
path: root/posix/tar.h
diff options
context:
space:
mode:
Diffstat (limited to 'posix/tar.h')
-rw-r--r--posix/tar.h9
1 files changed, 7 insertions, 2 deletions
diff --git a/posix/tar.h b/posix/tar.h
index 9732d67..be2961c 100644
--- a/posix/tar.h
+++ b/posix/tar.h
@@ -1,5 +1,5 @@
/* Extended tar format from POSIX.1.
- Copyright (C) 1992, 1996 Free Software Foundation, Inc.
+ Copyright (C) 1992, 1996, 2012 Free Software Foundation, Inc.
This file is part of the GNU C Library.
Written by David J. MacKenzie.
@@ -20,6 +20,9 @@
#ifndef _TAR_H
#define _TAR_H 1
+#include <features.h>
+
+
/* A tar archive consists of 512-byte blocks.
Each file in the archive has a header block followed by 0+ data blocks.
Two blocks of NUL bytes indicate the end of the archive. */
@@ -70,7 +73,9 @@
/* The bits in mode: */
#define TSUID 04000
#define TSGID 02000
-#define TSVTX 01000
+#ifdef __USE_XOPEN
+# define TSVTX 01000
+#endif
#define TUREAD 00400
#define TUWRITE 00200
#define TUEXEC 00100