summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--plugins-root/check_icmp.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/plugins-root/check_icmp.c b/plugins-root/check_icmp.c
index f21bf3b..06c8b78 100644
--- a/plugins-root/check_icmp.c
+++ b/plugins-root/check_icmp.c
@@ -1216,7 +1216,9 @@ recvfrom_wto(int sock, void *buf, unsigned int len, struct sockaddr *saddr,
1216 int n, ret; 1216 int n, ret;
1217 struct timeval to, then, now; 1217 struct timeval to, then, now;
1218 fd_set rd, wr; 1218 fd_set rd, wr;
1219#ifdef HAVE_MSGHDR_MSG_CONTROL
1219 char ans_data[4096]; 1220 char ans_data[4096];
1221#endif // HAVE_MSGHDR_MSG_CONTROL
1220 struct msghdr hdr; 1222 struct msghdr hdr;
1221 struct iovec iov; 1223 struct iovec iov;
1222#ifdef SO_TIMESTAMP 1224#ifdef SO_TIMESTAMP