diff options
| author | Bruce Hill <bruce@bruce-hill.com> | 2024-04-20 14:58:32 -0400 |
|---|---|---|
| committer | Bruce Hill <bruce@bruce-hill.com> | 2024-04-20 14:58:32 -0400 |
| commit | 2dd9392ef91b953ad5741fa8a955cfd7694a2e05 (patch) | |
| tree | 4c058d3c38fd1ac8528317a29c923e405ab57887 /builtins/util.h | |
| parent | ff3e1c13284ba25841e35eccf435a15f8d17b1b9 (diff) | |
Fix USE_COLOR
Diffstat (limited to 'builtins/util.h')
| -rw-r--r-- | builtins/util.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/builtins/util.h b/builtins/util.h index 79925a51..a091c40e 100644 --- a/builtins/util.h +++ b/builtins/util.h @@ -6,6 +6,7 @@ #include <gc.h> #include <gc/cord.h> #include <stdio.h> +#include <stdbool.h> #include <string.h> #include <err.h> @@ -24,6 +25,8 @@ #define public __attribute__ ((visibility ("default"))) #endif +extern bool USE_COLOR; + char *heap_strn(const char *str, size_t len); char *heap_str(const char *str); char *heap_strf(const char *fmt, ...); |
