$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 */
