Nagios

Nagois error on CentOS 7
make stage…

./stdio.h:456:1: error: ‘gets’ undeclared here (not in a function)
Edit the studio.h file, and replace:
#undef gets
_GL_WARN_ON_USE (gets, "gets is a security hole - use fgets instead");
with
#if defined gets
#undef gets
_GL_WARN_ON_USE (gets, "gets is a security hole - use fgets instead");
#endif