fix minor namespace issue in tar.h
authorRich Felker <dalias@aerifal.cx>
Sat, 10 Mar 2018 22:57:44 +0000 (17:57 -0500)
committerRich Felker <dalias@aerifal.cx>
Sat, 10 Mar 2018 23:19:40 +0000 (18:19 -0500)
TSVTX is XSI-shaded.

include/tar.h

index be58984..b3c4ba2 100644 (file)
@@ -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