瀏覽代碼

fix(icmp): fixed compilation on AIX

Emmett Kapsner 2 周之前
父節點
當前提交
e310514229
共有 1 個文件被更改,包括 0 次插入2 次删除
  1. 0 2
      plugins-root/check_icmp.c

+ 0 - 2
plugins-root/check_icmp.c

@@ -1274,9 +1274,7 @@ static int recvfrom_wto(int sock, void *buf, unsigned int len,
   char ans_data[4096];
   struct msghdr hdr;
   struct iovec iov;
-#ifdef SO_TIMESTAMP
   struct cmsghdr *chdr;
-#endif
 
   if (!*timo) {
     if (debug)