Blame SOURCES/tar-1.26-stdio.in.patch

b77676
diff --git a/gnu/stdio.in.h b/gnu/stdio.in.h
b77676
index 465a9c9..b703457 100644
b77676
--- a/gnu/stdio.in.h
b77676
+++ b/gnu/stdio.in.h
b77676
@@ -164,7 +164,9 @@ _GL_WARN_ON_USE (fflush, "fflush is not always POSIX compliant - "
b77676
    so any use of gets warrants an unconditional warning.  Assume it is
b77676
    always declared, since it is required by C89.  */
b77676
 #undef gets
b77676
+#if HAVE_RAW_DECL_GETS
b77676
 _GL_WARN_ON_USE (gets, "gets is a security hole - use fgets instead");
b77676
+#endif
b77676
 
b77676
 #if @GNULIB_FOPEN@
b77676
 # if @REPLACE_FOPEN@