<sys/types.h> still needs to be #included to get size_t, as the comment
authorgram <gram@f5534014-38df-0310-8fa8-9805f1628bb7>
Thu, 12 Sep 2002 21:26:51 +0000 (21:26 +0000)
committergram <gram@f5534014-38df-0310-8fa8-9805f1628bb7>
Thu, 12 Sep 2002 21:26:51 +0000 (21:26 +0000)
which was not deleted makes clear.

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

snprintf.h

index bea1a4f75f914940fbedab5655adeaec5992e5c9..f135fa27f9259c3250a8216e505ce25db2c9e64c 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * $Id: snprintf.h,v 1.8 2002/08/02 23:36:07 jmayer Exp $
+ * $Id: snprintf.h,v 1.9 2002/09/12 21:26:51 gram Exp $
  */
 
 #ifndef __ETHEREAL_SNPRINTF_H__
 #endif
 
 /* for size_t */
+#ifdef HAVE_SYS_TYPES_H
+# include <sys/types.h>
+#endif
+
 extern int vsnprintf(char *string, size_t length, const char * format,
   va_list args);