summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--plugins-root/check_icmp.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/plugins-root/check_icmp.c b/plugins-root/check_icmp.c
index 61198237..1b6a5e17 100644
--- a/plugins-root/check_icmp.c
+++ b/plugins-root/check_icmp.c
@@ -63,6 +63,7 @@ const char *email = "devel@monitoring-plugins.org";
63#include <netinet/ip_icmp.h> 63#include <netinet/ip_icmp.h>
64#include <netinet/icmp6.h> 64#include <netinet/icmp6.h>
65#include <arpa/inet.h> 65#include <arpa/inet.h>
66#include <float.h>
66 67
67 68
68/** sometimes undefined system macros (quite a few, actually) **/ 69/** sometimes undefined system macros (quite a few, actually) **/
@@ -95,10 +96,6 @@ const char *email = "devel@monitoring-plugins.org";
95# define ICMP_UNREACH_PRECEDENCE_CUTOFF 15 96# define ICMP_UNREACH_PRECEDENCE_CUTOFF 15
96#endif 97#endif
97 98
98#ifndef DBL_MAX
99# define DBL_MAX 9.9999999999e999
100#endif
101
102typedef unsigned short range_t; /* type for get_range() -- unimplemented */ 99typedef unsigned short range_t; /* type for get_range() -- unimplemented */
103 100
104typedef struct rta_host { 101typedef struct rta_host {