about summary refs log tree commit diff
path: root/pkgs/tools/text/xml/html-xml-utils/no-Boolean-type.patch
blob: f675c4280e78346055c8642b49bea7e14be413f0 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
diff -Naur html-xml-utils-6.4-orig/openurl.c html-xml-utils-6.4/openurl.c
--- html-xml-utils-6.4-orig/openurl.c	2012-10-23 09:55:12.000000000 -0400
+++ html-xml-utils-6.4/openurl.c	2013-10-17 14:05:11.424077842 -0400
@@ -66,6 +66,7 @@
 #include <stdlib.h>
 #include <stdarg.h>
 #include <assert.h>
+#include <stdbool.h>
 #include "export.h"
 #if HAVE_LIBCURL && !HAVE_FOPENCOOKIE
 # include "fopencookie.e"	/* Use our own fopencookie() */
@@ -505,7 +506,7 @@
 			const conststring path, Dictionary request,
 			Dictionary response, int maxredirs, int *status)
 {
-  Boolean delete_response = !response;
+  bool delete_response = !response;
   conststring h, v;
   char buf[BUFLEN];
   int fd, n, i;