aboutsummaryrefslogtreecommitdiff
path: root/tomo.c
diff options
context:
space:
mode:
authorBruce Hill <bruce@bruce-hill.com>2024-02-29 12:37:09 -0500
committerBruce Hill <bruce@bruce-hill.com>2024-02-29 12:37:09 -0500
commitec75208980f29628604aed45a4f64cfa3c62e0df (patch)
treeb1cf929cb2735f8ad258c60317410e111ad58462 /tomo.c
parenta7bbbe9584f6e4cd35c9a78e8f83b458ddd8f914 (diff)
Fix up some import issues and improve arrays to use saturating refcounts
instead of .copy_on_write
Diffstat (limited to 'tomo.c')
-rw-r--r--tomo.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tomo.c b/tomo.c
index 1646f5bd..6dd33e69 100644
--- a/tomo.c
+++ b/tomo.c
@@ -71,7 +71,7 @@ int main(int argc, char *argv[])
const char *cflags = getenv("CFLAGS");
if (!cflags)
- cflags = "-std=c11 -fdollars-in-identifiers -fsanitize=signed-integer-overflow -fno-sanitize-recover";
+ cflags = "-std=c11 -fdollars-in-identifiers -fsanitize=signed-integer-overflow -fno-sanitize-recover -D_XOPEN_SOURCE=700 -D_POSIX_C_SOURCE=200809L -D_DEFAULT_SOURCE";
const char *ldlibs = "-lgc -lcord -lm -L. -ltomo";
if (getenv("LDLIBS"))