--- summarize.c.orig	Thu Jan 27 14:51:23 2000
+++ summarize.c	Thu Jan 27 14:57:12 2000
@@ -31,7 +31,8 @@
  */
 
 #include <stdio.h>
-#include <alloca.h>
+#include <stdlib.h>
+#include <string.h>
 #include <sys/types.h>
 #include <sys/socket.h>
 #include <sys/time.h>
@@ -44,7 +45,8 @@
 #include <netinet/ip_icmp.h>
 #include <netinet/tcp.h>
 #include <netinet/udp.h>
-#include "pcap.h"
+#include <arpa/inet.h>
+#include <pcap.h>
 #include "parse.h"
 
 void summarize_handler();
@@ -90,7 +92,7 @@
   u_char *abuf, *abuf2;
   u_long src, dst;
   u_short src_port, dst_port;
-  int flags, length;
+  int length;
 
   ep = (struct ether_header *)p;
   p += sizeof(struct ether_header);
