summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRincewindsHat <12514511+RincewindsHat@users.noreply.github.com>2021-12-03 01:07:01 +0100
committerRincewindsHat <12514511+RincewindsHat@users.noreply.github.com>2022-03-15 21:02:27 +0100
commit906d00af3cfd3411c36e7ba8b5aaf6e0596a2b33 (patch)
tree8feb8b905c2570286d82b1762e3eff0cc1f556fa
parentc842543e03cb629bed7459c5b9d48d30eae63087 (diff)
downloadmonitoring-plugins-906d00af3cfd3411c36e7ba8b5aaf6e0596a2b33.tar.gz
Less includes
-rw-r--r--plugins-root/check_icmp.c9
1 files changed, 6 insertions, 3 deletions
diff --git a/plugins-root/check_icmp.c b/plugins-root/check_icmp.c
index df0d3c13..783b85d1 100644
--- a/plugins-root/check_icmp.c
+++ b/plugins-root/check_icmp.c
@@ -50,6 +50,8 @@ const char *email = "devel@monitoring-plugins.org";
50#if HAVE_SYS_SOCKIO_H 50#if HAVE_SYS_SOCKIO_H
51#include <sys/sockio.h> 51#include <sys/sockio.h>
52#endif 52#endif
53
54/*
53#include <sys/ioctl.h> 55#include <sys/ioctl.h>
54#include <sys/time.h> 56#include <sys/time.h>
55#include <sys/types.h> 57#include <sys/types.h>
@@ -60,9 +62,12 @@ const char *email = "devel@monitoring-plugins.org";
60#include <stddef.h> 62#include <stddef.h>
61#include <errno.h> 63#include <errno.h>
62#include <string.h> 64#include <string.h>
63#include <ctype.h>
64#include <netdb.h> 65#include <netdb.h>
65#include <sys/socket.h> 66#include <sys/socket.h>
67#include <signal.h>
68#include <float.h>
69*/
70#include <ctype.h>
66#include <net/if.h> 71#include <net/if.h>
67#include <netinet/in_systm.h> 72#include <netinet/in_systm.h>
68#include <netinet/in.h> 73#include <netinet/in.h>
@@ -71,8 +76,6 @@ const char *email = "devel@monitoring-plugins.org";
71#include <netinet/ip_icmp.h> 76#include <netinet/ip_icmp.h>
72#include <netinet/icmp6.h> 77#include <netinet/icmp6.h>
73#include <arpa/inet.h> 78#include <arpa/inet.h>
74#include <signal.h>
75#include <float.h>
76 79
77 80
78/** sometimes undefined system macros (quite a few, actually) **/ 81/** sometimes undefined system macros (quite a few, actually) **/