diff options
author | Rich Felker <dalias@aerifal.cx> | 2018-03-28 15:53:45 -0400 |
---|---|---|
committer | Rich Felker <dalias@aerifal.cx> | 2018-03-28 15:53:45 -0400 |
commit | 729fef0a9358e2f6f1cd8c75a1a0f7ee48b08c95 (patch) | |
tree | acb67dedb55dfe1cf261d7e704d29b881855afc1 /include | |
parent | c7bb9c41d2e62b7ad1c7858d4d0f2873642e634b (diff) | |
download | musl-729fef0a9358e2f6f1cd8c75a1a0f7ee48b08c95.tar.gz musl-729fef0a9358e2f6f1cd8c75a1a0f7ee48b08c95.tar.bz2 musl-729fef0a9358e2f6f1cd8c75a1a0f7ee48b08c95.tar.xz musl-729fef0a9358e2f6f1cd8c75a1a0f7ee48b08c95.zip |
fix default feature profile in tar.h
commit d93c0740d86aaf7043e79b942a6c0b3f576af4c8 added use of feature
test macros without including features.h, causing a definition that
should be exposed in the default profile, TSVTX, to appear only when
_XOPEN_SOURCE or higher is explicitly defined.
Diffstat (limited to 'include')
-rw-r--r-- | include/tar.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/tar.h b/include/tar.h index b3c4ba24..2eba66ec 100644 --- a/include/tar.h +++ b/include/tar.h @@ -1,6 +1,8 @@ #ifndef _TAR_H #define _TAR_H +#include <features.h> + #define TSUID 04000 #define TSGID 02000 #if defined(_GNU_SOURCE) || defined(_BSD_SOURCE) || defined(_XOPEN_SOURCE) |