Browse Source

fix minor namespace issue in tar.h

TSVTX is XSI-shaded.
Rich Felker 7 years ago
parent
commit
d93c0740d8
1 changed files with 2 additions and 0 deletions
  1. 2 0
      include/tar.h

+ 2 - 0
include/tar.h

@@ -3,7 +3,9 @@
 
 
 #define TSUID   04000
 #define TSUID   04000
 #define TSGID   02000
 #define TSGID   02000
+#if defined(_GNU_SOURCE) || defined(_BSD_SOURCE) || defined(_XOPEN_SOURCE)
 #define TSVTX   01000
 #define TSVTX   01000
+#endif
 #define TUREAD  00400
 #define TUREAD  00400
 #define TUWRITE 00200
 #define TUWRITE 00200
 #define TUEXEC  00100
 #define TUEXEC  00100