add unlock support to afscp
[openafs.git] / src / tests / snprintf.c
index 4990cca..ed86a12 100644 (file)
 
 #ifdef HAVE_CONFIG_H
 #include <config.h>
-RCSID("$Id$");
 #endif
 #include <stdio.h>
 #include <stdarg.h>
 #include <stdlib.h>
 #include <string.h>
 #include <ctype.h>
+#include <afsconfig.h>
+
+#ifndef HAVE_VASNPRINTF
+int vasnprintf(char **ret, size_t max_sz, const char *format, va_list args);
+#endif
 
 #ifndef min
 #define min(a, b)               ((a) > (b) ? (b) : (a))