]> The Tcpdump Group git mirrors - tcpdump/blobdiff - missing/snprintf.c
do not use ip_p for getting protocol # in tcp_cksum. we may have AH/ESP.
[tcpdump] / missing / snprintf.c
index 49c70e61093d8fd9c4742979895e6a59c07b7b8f..9683ecaf8fa268af491d83dff364f14275f4f317 100644 (file)
@@ -31,7 +31,7 @@
  * SUCH DAMAGE.
  */
 
-/* $Id: snprintf.c,v 1.2 2000-01-09 21:35:46 fenner Exp $ */
+/* $Id: snprintf.c,v 1.3 2000-01-10 16:57:44 fenner Exp $ */
 
 #ifdef HAVE_CONFIG_H
 #include <config.h>
@@ -39,7 +39,7 @@
 
 #ifndef lint
 static const char rcsid[] =
-     "@(#) $Header: /tcpdump/master/tcpdump/missing/snprintf.c,v 1.2 2000-01-09 21:35:46 fenner Exp $";
+     "@(#) $Header: /tcpdump/master/tcpdump/missing/snprintf.c,v 1.3 2000-01-10 16:57:44 fenner Exp $";
 #endif
 
 #include <stdio.h>
@@ -47,6 +47,7 @@ static const char rcsid[] =
 #include <stdlib.h>
 #include <string.h>
 #include <ctype.h>
+#include <sys/types.h>
 
 #include <interface.h>