summaryrefslogtreecommitdiff
path: root/filesystems/fuse-wdfs/patches/patch-ab
blob: 5627455a8df343f640a229507afe5a850a83dd39 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
$NetBSD: patch-ab,v 1.2 2008/01/28 02:56:46 bjs Exp $

--- src/wdfs-main.h.orig	2007-03-28 16:53:21.000000000 -0400
+++ src/wdfs-main.h
@@ -29,10 +29,16 @@
 	esac
 */
 
+#if defined(HAVE_STDBOOL_H)
+#include <stdbool.h>
+typedef bool bool_t;
+#else
 typedef enum {
 	true 	= 1,
 	false 	= 0
 } bool_t;
+#endif
+
 
 /* used as mode for unify_path() */
 enum {