diff options
author | gram <gram@f5534014-38df-0310-8fa8-9805f1628bb7> | 2002-09-12 21:26:51 +0000 |
---|---|---|
committer | gram <gram@f5534014-38df-0310-8fa8-9805f1628bb7> | 2002-09-12 21:26:51 +0000 |
commit | 62da40e42f2804dce74a5af20f655eed43c83c48 (patch) | |
tree | 31f805a9ed4472aa09f2554c03c62ae2275b2c81 /snprintf.h | |
parent | 0fdb5bf96224eaef5d7ba1e40c6c63758694ec1c (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.h | 6 |
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); |