pkgsrc/textproc/uriparser/patches/patch-aa
bjs 2633ac574f Import uriparser-0.6.0.
Uriparser is a strictly RFC 3986 compliant URI parsing library.  uriparser
is cross-platform, fast, supports  Unicode and is  licensed under the  New
BSD license.
2007-11-08 18:36:14 +00:00

17 lines
534 B
Text

$NetBSD: patch-aa,v 1.1.1.1 2007/11/08 18:36:14 bjs Exp $
--- include/uriparser/UriBase.h.orig 2007-09-18 23:10:11.000000000 -0400
+++ include/uriparser/UriBase.h
@@ -124,7 +124,12 @@ typedef int UriBool; /**< Boolean type *
#ifndef URI_DOXYGEN
+# ifdef HAVE_NBCOMPAT_H
+# include <nbcompat/cdefs.h>
+# include <nbcompat/stdio.h>
+# else
# include <stdio.h> /* For NULL, snprintf */
+# endif
# include <ctype.h> /* For wchar_t */
# include <string.h> /* For strlen, memset, memcpy */
# include <stdlib.h> /* For malloc */