summaryrefslogtreecommitdiff
path: root/pkgtools/libnbcompat/files/snprintf.c
diff options
context:
space:
mode:
Diffstat (limited to 'pkgtools/libnbcompat/files/snprintf.c')
-rw-r--r--pkgtools/libnbcompat/files/snprintf.c8
1 files changed, 5 insertions, 3 deletions
diff --git a/pkgtools/libnbcompat/files/snprintf.c b/pkgtools/libnbcompat/files/snprintf.c
index 839483936cd..c7c64dcded9 100644
--- a/pkgtools/libnbcompat/files/snprintf.c
+++ b/pkgtools/libnbcompat/files/snprintf.c
@@ -1,4 +1,4 @@
-/* $NetBSD: snprintf.c,v 1.2 2003/09/06 23:03:04 grant Exp $ */
+/* $NetBSD: snprintf.c,v 1.3 2004/08/23 03:32:12 jlam Exp $ */
/*
* Copyright Patrick Powell 1995
@@ -57,8 +57,10 @@
*
**************************************************************/
-#include "nbcompat.h"
-
+#include <nbcompat.h>
+#if HAVE_STDARG_H
+#include <stdarg.h>
+#endif
#if HAVE_LONG_DOUBLE
#define LDOUBLE long double