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

Leave a Comment

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.