ソースを参照

fix(icmp): fixed compilation on AIX

Emmett Kapsner 1 週間 前
コミット
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];
   char ans_data[4096];
   struct msghdr hdr;
   struct msghdr hdr;
   struct iovec iov;
   struct iovec iov;
-#ifdef SO_TIMESTAMP
   struct cmsghdr *chdr;
   struct cmsghdr *chdr;
-#endif
 
 
   if (!*timo) {
   if (!*timo) {
     if (debug)
     if (debug)