mirror of
https://github.com/monitoring-plugins/monitoring-plugins.git
synced 2026-06-10 17:20:05 -04:00
plugins-root/check_icmp: Import sys/ioctl.h
The ioctl(2) call within "#if defined(SIOCGIFADDR)" requires the include.
This commit is contained in:
parent
ca5c2b3a5f
commit
cbddc7dbb4
1 changed files with 3 additions and 0 deletions
|
|
@ -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>
|
||||
|
|
|
|||
Loading…
Reference in a new issue