diff options
author | David Chisnall <theraven@FreeBSD.org> | 2013-09-06 09:46:44 +0000 |
---|---|---|
committer | David Chisnall <theraven@FreeBSD.org> | 2013-09-06 09:46:44 +0000 |
commit | b49c0d5878e49d8d3d094d0b2e4f00939e7aa662 (patch) | |
tree | f507ed7cb6b08b5b63fc242bc2de8c7e231b28ea /lib/libc | |
parent | 75b1cda430eedddf6559015ebdcc4bedd3a85c7c (diff) | |
download | src-b49c0d5878e49d8d3d094d0b2e4f00939e7aa662.tar.gz src-b49c0d5878e49d8d3d094d0b2e4f00939e7aa662.zip |
Fix the namespace pollution caused by iconv.h including stdbool.h
This broke any C89 ports that defined bool themselves, including things
like gcc, gtk, and so on.
Notes
Notes:
svn path=/head/; revision=255297
Diffstat (limited to 'lib/libc')
-rw-r--r-- | lib/libc/iconv/citrus_iconv_local.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/libc/iconv/citrus_iconv_local.h b/lib/libc/iconv/citrus_iconv_local.h index 52ac8251cd24..e673c9a6afa1 100644 --- a/lib/libc/iconv/citrus_iconv_local.h +++ b/lib/libc/iconv/citrus_iconv_local.h @@ -31,6 +31,7 @@ #define _CITRUS_ICONV_LOCAL_H_ #include <iconv.h> +#include <stdbool.h> #define _CITRUS_ICONV_GETOPS_FUNC_BASE(_n_) \ int _n_(struct _citrus_iconv_ops *) |