Files
pkgsrc-ng/devel/libarena/patches/patch-aa
2013-09-26 17:14:40 +02:00

25 lines
760 B
Plaintext

$NetBSD: patch-aa,v 1.1.1.1 2008/02/12 02:40:37 bjs Exp $
--- src/util.c.orig 2008-02-11 03:01:04.000000000 -0500
+++ src/util.c
@@ -23,11 +23,17 @@
* USE OR OTHER DEALINGS IN THE SOFTWARE.
* ==========================================================================
*/
+#if defined(HAVE_NBCOMPAT_H)
+#include <nbcompat/config.h>
+#include <nbcompat/cdefs.h>
+#include <nbcompat/stdio.h>
+#include <nbcompat/string.h>
+#else
#include <stdio.h> /* vsnprintf(3) */
-#include <stdarg.h> /* va_list va_copy va_start va_end */
-
#include <string.h> /* memchr(3) memcpy(3) strsep(3) strerror(3) */
+#endif
+#include <stdarg.h> /* va_list va_copy va_start va_end */
#include <errno.h> /* EFAULT errno */
#include "proto.h" /* struct arena_prototype */