summaryrefslogtreecommitdiff
path: root/server/utf8proc.h
diff options
context:
space:
mode:
authorGravatar Karl Ramm <kcr@1ts.org>2009-07-14 03:33:56 +0000
committerGravatar Karl Ramm <kcr@1ts.org>2009-07-14 03:33:56 +0000
commit827e165e5b80d999a8a30b3292f9bbb4a8c772e1 (patch)
tree82ddcbe10df5f4719e4d374927f5da21d6310fd0 /server/utf8proc.h
parente45b68bc34c737af3002555981e6d07ec4b00f8a (diff)
Build on solaris
Diffstat (limited to 'server/utf8proc.h')
-rw-r--r--server/utf8proc.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/server/utf8proc.h b/server/utf8proc.h
index f883054..2fd4f17 100644
--- a/server/utf8proc.h
+++ b/server/utf8proc.h
@@ -55,7 +55,11 @@
#include <stdlib.h>
+#ifdef HAVE_STDBOOL_H
#include <stdbool.h>
+#else
+typedef enum {false = 0, true = 1} bool;
+#endif
#include <sys/types.h>
#include <inttypes.h>
#include <limits.h>