From 729fef0a9358e2f6f1cd8c75a1a0f7ee48b08c95 Mon Sep 17 00:00:00 2001 From: Rich Felker Date: Wed, 28 Mar 2018 15:53:45 -0400 Subject: [PATCH] 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. --- include/tar.h | 2 ++ 1 file changed, 2 insertions(+) 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)