summaryrefslogtreecommitdiff
path: root/include/tar.h
diff options
context:
space:
mode:
authorRich Felker <dalias@aerifal.cx>2018-03-10 17:57:44 -0500
committerRich Felker <dalias@aerifal.cx>2018-03-10 18:19:40 -0500
commitd93c0740d86aaf7043e79b942a6c0b3f576af4c8 (patch)
treecf9058e39d3d4aeff775a90ba861f1b823978a2c /include/tar.h
parent8e1381be44642523b5cbd1bba4d7ca20ee920b85 (diff)
downloadmusl-d93c0740d86aaf7043e79b942a6c0b3f576af4c8.tar.gz
fix minor namespace issue in tar.h
TSVTX is XSI-shaded.
Diffstat (limited to 'include/tar.h')
-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