plugins-root/check_icmp: Import sys/ioctl.h

The ioctl(2) call within "#if defined(SIOCGIFADDR)" requires the include.
This commit is contained in:
Alvar Penning 2025-12-10 21:09:05 +01:00
parent ca5c2b3a5f
commit cbddc7dbb4
No known key found for this signature in database

View file

@ -54,6 +54,9 @@ const char *email = "devel@monitoring-plugins.org";
#endif
#include <sys/time.h>
#if defined(SIOCGIFADDR)
#include <sys/ioctl.h>
#endif /* SIOCGIFADDR */
#include <errno.h>
#include <signal.h>
#include <ctype.h>