--- ./lib/stdio.h 2013-10-04 09:59:50.722249801 +0200 +++ ./lib/stdio.h 2013-10-04 09:59:23.622115419 +0200 @@ -459,11 +459,13 @@ _GL_WARN_ON_USE (fflush, "fflush is not "use gnulib module fflush for portable POSIX compliance"); #endif +#ifdef gets /* It is very rare that the developer ever has full control of stdin, so any use of gets warrants an unconditional warning. Assume it is always declared, since it is required by C89. */ -#undef gets _GL_WARN_ON_USE (gets, "gets is a security hole - use fgets instead"); +#undef gets +#endif #if 1 # if 0