]> arthur.barton.de Git - netatalk.git/blobdiff - include/atalk/compat.h
- merge branch-netatalk-afp-3x-dev, HEAD was tagged before
[netatalk.git] / include / atalk / compat.h
index e283220d68d73aeefed1ea93bfa5f43e20f89f1e..7bd9983d62fb85380bb07e1ca075223a93a83f0a 100644 (file)
@@ -79,3 +79,16 @@ extern int inet_aton __P((const char *, struct in_addr *));
 #if defined(ultrix) || defined(_IBMR2) || defined(NEED_GETUSERSHELL)
 extern char *getusershell __P((void));
 #endif
+
+#if !defined(HAVE_SNPRINTF) || !defined(HAVE_VSNPRINTF)
+#include <stdio.h>
+#include <stdarg.h>
+#endif
+
+#ifndef HAVE_SNPRINTF
+int snprintf (char *str,size_t count,const char *fmt,...);
+#endif
+
+#ifndef HAVE_VSNPRINTF
+int vsnprintf(char *str, size_t count, const char *fmt, va_list args);
+#endif