about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--include/tar.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/tar.h b/include/tar.h
index be589842..b3c4ba24 100644
--- a/include/tar.h
+++ b/include/tar.h
@@ -3,7 +3,9 @@
 
 #define TSUID   04000
 #define TSGID   02000
+#if defined(_GNU_SOURCE) || defined(_BSD_SOURCE) || defined(_XOPEN_SOURCE)
 #define TSVTX   01000
+#endif
 #define TUREAD  00400
 #define TUWRITE 00200
 #define TUEXEC  00100