aboutsummaryrefslogtreecommitdiffstats
path: root/snprintf.h
diff options
context:
space:
mode:
authorgram <gram@f5534014-38df-0310-8fa8-9805f1628bb7>2002-09-12 21:26:51 +0000
committergram <gram@f5534014-38df-0310-8fa8-9805f1628bb7>2002-09-12 21:26:51 +0000
commit62da40e42f2804dce74a5af20f655eed43c83c48 (patch)
tree31f805a9ed4472aa09f2554c03c62ae2275b2c81 /snprintf.h
parent0fdb5bf96224eaef5d7ba1e40c6c63758694ec1c (diff)
<sys/types.h> still needs to be #included to get size_t, as the comment
which was not deleted makes clear. git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@6288 f5534014-38df-0310-8fa8-9805f1628bb7
Diffstat (limited to 'snprintf.h')
-rw-r--r--snprintf.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/snprintf.h b/snprintf.h
index bea1a4f75f..f135fa27f9 100644
--- a/snprintf.h
+++ b/snprintf.h
@@ -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__
@@ -12,6 +12,10 @@
#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);