X-Git-Url: http://andersk.mit.edu/gitweb/nss_nonlocal.git/blobdiff_plain/cbb0e3ea444ff761b58c8f9355af1dfc631bc64b..f9a5d9a70af495d60d6d15057768ab1e8d787bf7:/nonlocal.h diff --git a/nonlocal.h b/nonlocal.h index a0746d4..b31a9a9 100644 --- a/nonlocal.h +++ b/nonlocal.h @@ -27,6 +27,23 @@ #define NONLOCAL_H #include "config.h" + +#ifdef HAVE_STDBOOL_H +# include +#else +# ifndef HAVE__BOOL +# ifdef __cplusplus +typedef bool _Bool; +# else +# define _Bool signed char +# endif +# endif +# define bool _Bool +# define false 0 +# define true 1 +# define __bool_true_false_are_defined 1 +#endif + #include "nsswitch-internal.h" struct walk_nss {