X-Git-Url: https://jfr.im/git/solanum.git/blobdiff_plain/cbeab4bc340b7b3f4fbf424ff327758defb9598a..04e5ed6c57154114cca330767e3bfb1006b46ee9:/include/stdinc.h diff --git a/include/stdinc.h b/include/stdinc.h index 166d44d7..d620f779 100644 --- a/include/stdinc.h +++ b/include/stdinc.h @@ -21,8 +21,7 @@ * */ -#include "ratbox_lib.h" -#include "config.h" /* Gotta pull in the autoconf stuff */ +#include "rb_lib.h" #include "ircd_defs.h" /* Needed for some reasons here -- dwr */ /* AIX requires this to be the first thing in the file. */ @@ -71,13 +70,28 @@ char *alloca (); #endif +#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 #include #include #include #include -#include #include #include #include @@ -97,16 +111,11 @@ char *alloca (); #endif -#include #include -#include #ifdef HAVE_SYS_PARAM_H #include #endif -#include -#include -#include #ifdef HAVE_ERRNO_H #include