]> arthur.barton.de Git - ngircd-alex.git/blobdiff - src/portab/vsnprintf.c
Make vsnprintf() portab function more portable
[ngircd-alex.git] / src / portab / vsnprintf.c
index 4c65db1febd5c30008f421a0a6d1e45b28f8e11c..b740eca562c136962c18665b310655b303891d3c 100644 (file)
 #include <ctype.h>
 #endif
 #include <sys/types.h>
+#ifdef PROTOTYPES
 #include <stdarg.h>
+#else
+#include <varargs.h>
+#endif
 #ifdef HAVE_STDLIB_H
 #include <stdlib.h>
 #endif