summaryrefslogtreecommitdiff
path: root/usr/src/head/tar.h
diff options
context:
space:
mode:
authoraj <none@none>2006-04-28 15:41:51 -0700
committeraj <none@none>2006-04-28 15:41:51 -0700
commit4d7b462cf6bf05be267609fc784fbfa86303954c (patch)
treecad51b76312747d716ff96c8ecee6e25309c775c /usr/src/head/tar.h
parent0066ea643632362631f3bb653a0fcf6ed1f07cd3 (diff)
downloadillumos-gate-4d7b462cf6bf05be267609fc784fbfa86303954c.tar.gz
6406622 UNIX98/UNIX03: *vsx* Trusted Extensions changes to tar.h pollute standards namespace
Diffstat (limited to 'usr/src/head/tar.h')
-rw-r--r--usr/src/head/tar.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/usr/src/head/tar.h b/usr/src/head/tar.h
index 0510bd7a68..a4a04a5afe 100644
--- a/usr/src/head/tar.h
+++ b/usr/src/head/tar.h
@@ -34,6 +34,8 @@
extern "C" {
#endif
+#include <sys/feature_tests.h>
+
#define TMAGIC "ustar"
#define TMAGLEN 6
#define TVERSION "00"
@@ -70,6 +72,7 @@ extern "C" {
#define TOWRITE 00002
#define TOEXEC 00001
+#if !defined(__XOPEN_OR_POSIX) || defined(__EXTENSIONS__)
/*
* Types used in ancillary files
*/
@@ -89,6 +92,8 @@ extern "C" {
#define COMP_TYPE 'C' /* path components, use for MLD */
#define ATTR_FLAG_TYPE 'F' /* file attribute flag bytes data type */
#define LK_COMP_TYPE 'K' /* link data path component */
+#endif
+
#ifdef __cplusplus
}
#endif