Include "snprintf.h", as we use "snprintf()", so that we don't get
authorguy <guy@f5534014-38df-0310-8fa8-9805f1628bb7>
Mon, 4 Jan 1999 08:45:22 +0000 (08:45 +0000)
committerguy <guy@f5534014-38df-0310-8fa8-9805f1628bb7>
Mon, 4 Jan 1999 08:45:22 +0000 (08:45 +0000)
warnings from "gcc -Wall".

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@152 f5534014-38df-0310-8fa8-9805f1628bb7

packet-tcp.c

index 57cc063a28576fe61790b993fbe1bcf1344ddc51..acb26badf4349c80c510c1dae5908bf86ac8007c 100644 (file)
@@ -1,7 +1,7 @@
 /* packet-tcp.c
  * Routines for TCP packet disassembly
  *
- * $Id: packet-tcp.c,v 1.12 1998/12/29 04:05:35 gerald Exp $
+ * $Id: packet-tcp.c,v 1.13 1999/01/04 08:45:22 guy Exp $
  *
  * Ethereal - Network traffic analyzer
  * By Gerald Combs <gerald@zing.org>
 
 #include <stdio.h>
 
+#ifdef NEED_SNPRINTF_H
+# ifdef HAVE_STDARG_H
+#  include <stdarg.h>
+# else
+#  include <varargs.h>
+# endif
+# include "snprintf.h"
+#endif
+
 #ifdef HAVE_SYS_TYPES_H
 # include <sys/types.h>
 #endif