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 be589842a8f756e1258e28d7fa726afc4a1f549e..b3c4ba248a9f22e69323a958ad3eaa3fed482590 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