diff options
author | Gilbert Ramirez <gram@alumni.rice.edu> | 2002-09-12 21:26:51 +0000 |
---|---|---|
committer | Gilbert Ramirez <gram@alumni.rice.edu> | 2002-09-12 21:26:51 +0000 |
commit | c24adacff7357637e0bc92cafc2fa4dd793aca15 (patch) | |
tree | 31f805a9ed4472aa09f2554c03c62ae2275b2c81 /snprintf.h | |
parent | 39e138aca82d19b56c7ee40ecb988cfb8357929b (diff) |
<sys/types.h> still needs to be #included to get size_t, as the comment
which was not deleted makes clear.
svn path=/trunk/; revision=6288
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); |