summaryrefslogtreecommitdiff
blob: 14110216280936385f514ee4830be3220e9f494f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
--- third-party/libutp/utypes.h.orig	Wed Sep 28 19:46:15 2011
+++ third-party/libutp/utypes.h	Wed Sep 28 19:47:06 2011
@@ -36,7 +36,11 @@ typedef const char * cstr;
 typedef char * str;
 
 #ifndef __cplusplus
+#ifdef HAVE_STDBOOL_H
+#include <stdbool.h>
+#else
 typedef uint8 bool;
+#endif
 #endif
 
 #endif //__UTYPES_H__