Added #include for stdarg.h when using ower own version of vsnprintf().

This commit is contained in:
Alexander Barton 2003-03-17 01:12:10 +00:00
parent 9ca1f6a988
commit f53455977d
1 changed files with 2 additions and 1 deletions

View File

@ -8,7 +8,7 @@
* (at your option) any later version.
* Please read the file COPYING, README and AUTHORS for more information.
*
* $Id: portab.h,v 1.13 2003/03/17 00:53:52 alex Exp $
* $Id: portab.h,v 1.14 2003/03/17 01:12:10 alex Exp $
*
* Portability functions and declarations (header for libngbportab).
*/
@ -142,6 +142,7 @@ EXTERN size_t strlcpy PARAMS(( CHAR *dst, CONST CHAR *src, size_t size ));
#endif
#ifndef HAVE_VSNPRINTF
#include <stdarg.h>
EXTERN INT vsnprintf PARAMS(( CHAR *str, size_t count, CONST CHAR *fmt, va_list args ));
#endif