Fixed include files to eliminate compile warnings.
authorAaron Taylor <ataylor@subgeniuskitty.com>
Tue, 17 Sep 2019 01:42:56 +0000 (18:42 -0700)
committerAaron Taylor <ataylor@subgeniuskitty.com>
Tue, 17 Sep 2019 01:42:56 +0000 (18:42 -0700)
icmpmonitor.c

index 89535fd..870a4e2 100644 (file)
@@ -64,6 +64,7 @@ char rcsid[] = "$Id: icmpmonitor.c,v 1.8 2004/05/28 01:33:07 lord Exp $";
 #include <string.h>
 #ifdef HAVE_SYS_TIME_H
 # include <sys/time.h>
 #include <string.h>
 #ifdef HAVE_SYS_TIME_H
 # include <sys/time.h>
+# include <sys/wait.h>
 #endif
 #include <sys/socket.h>
 #include <sys/types.h>
 #endif
 #include <sys/socket.h>
 #include <sys/types.h>
@@ -77,6 +78,8 @@ char rcsid[] = "$Id: icmpmonitor.c,v 1.8 2004/05/28 01:33:07 lord Exp $";
 # include <unistd.h>
 #endif
 
 # include <unistd.h>
 #endif
 
+#include <sys/stat.h>
+
 #include <netinet/in.h>
 #include <arpa/inet.h>
 #include <netdb.h>
 #include <netinet/in.h>
 #include <arpa/inet.h>
 #include <netdb.h>