summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWormHeamer2025-12-02 06:59:24 -0500
committerWormHeamer2025-12-02 06:59:24 -0500
commit9a33bc820266891cec4205ec9bd6e22bacf36790 (patch)
treedac9f175d925bb3591135772d9faa5a70b67e000
parent5b6ee7e762b7b6db2e4979d740a104d7b8dc15fd (diff)
move stdio.h dep up (for FILE)
-rw-r--r--strio.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/strio.h b/strio.h
index a7df9ca..9edd306 100644
--- a/strio.h
+++ b/strio.h
@@ -4,6 +4,7 @@
#include "str.h"
#include "arena.h"
#include <stdarg.h>
+#include <stdio.h>
int read_all(FILE *f, Str *buf, Arena *a);
int next_line(Str *src, Str *line);
@@ -24,7 +25,6 @@ const char *cstr_fmt(Arena *arena, const char *fmt, ...);
#ifdef STRIO_IMPL
-#include <stdio.h>
#include <stdint.h>
#include <stdarg.h>