From: Rich Felker Date: Wed, 28 Mar 2018 19:53:45 +0000 (-0400) Subject: fix default feature profile in tar.h X-Git-Url: http://nsz.repo.hu/git/?a=commitdiff_plain;h=729fef0a9358e2f6f1cd8c75a1a0f7ee48b08c95;p=musl 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. --- 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 + #define TSUID 04000 #define TSGID 02000 #if defined(_GNU_SOURCE) || defined(_BSD_SOURCE) || defined(_XOPEN_SOURCE)