projects
/
platform
/
upstream
/
c-ares.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
915e774
)
include <sys/types.h> when checking availability of the bool type
author
Yang Tse
<yangsita@gmail.com>
Thu, 22 Feb 2007 16:44:43 +0000
(16:44 +0000)
committer
Yang Tse
<yangsita@gmail.com>
Thu, 22 Feb 2007 16:44:43 +0000
(16:44 +0000)
configure.ac
patch
|
blob
|
history
diff --git
a/configure.ac
b/configure.ac
index
e870d63
..
034be0e
100644
(file)
--- a/
configure.ac
+++ b/
configure.ac
@@
-376,6
+376,9
@@
AC_CHECK_TYPE([bool],[
AC_DEFINE(HAVE_BOOL_T, 1,
[Define to 1 if bool is an available type.])
], ,[
+#ifdef HAVE_SYS_TYPES_H
+#include <sys/types.h>
+#endif
#ifdef HAVE_STDBOOL_H
#include <stdbool.h>
#endif