1
0
mirror of https://github.com/osmarks/ngircd.git synced 2024-10-28 04:46:17 +00:00

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

View File

@ -8,7 +8,7 @@
* (at your option) any later version. * (at your option) any later version.
* Please read the file COPYING, README and AUTHORS for more information. * 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). * 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 #endif
#ifndef HAVE_VSNPRINTF #ifndef HAVE_VSNPRINTF
#include <stdarg.h>
EXTERN INT vsnprintf PARAMS(( CHAR *str, size_t count, CONST CHAR *fmt, va_list args )); EXTERN INT vsnprintf PARAMS(( CHAR *str, size_t count, CONST CHAR *fmt, va_list args ));
#endif #endif