rcx

library of miscellaneous bits of C code
git clone git://git.rr3.xyz/rcx
Log | Files | Refs | README | LICENSE

commit f248b095549af9fa7ab32d3ef6b282f74ee56146
parent 9d6aadc814445225820b68bc8fd63ad9d12b161c
Author: Robert Russell <robertrussell.72001@gmail.com>
Date:   Mon, 25 Sep 2023 23:30:41 -0700

Don't import alloc.h with only TABLE_TYPES

Diffstat:
Minc/table/main.h | 4+++-
1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/inc/table/main.h b/inc/table/main.h @@ -4,10 +4,12 @@ #include <errno.h> #endif -#include "../alloc.h" #include "../def.h" #include "../rand.h" #include "../string.h" +#if defined(TABLE_DECLS) || defined(TABLE_DEFS) +#include "../alloc.h" +#endif #ifdef TABLE_DEFS #include "../bits.h" #include "../debug.h"