summaryrefslogtreecommitdiff
path: root/src/io/read_file.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/io/read_file.h')
-rw-r--r--src/io/read_file.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/io/read_file.h b/src/io/read_file.h
index 89f738b..d097c05 100644
--- a/src/io/read_file.h
+++ b/src/io/read_file.h
@@ -1,5 +1,6 @@
#pragma once
+#include <stdbool.h>
#include <stddef.h>
#include <stdio.h>
@@ -20,5 +21,5 @@ struct filebuf {
};
struct filebuf *stream_to_filebuf(FILE *restrict stream, int openOptions);
-struct filebuf *file_to_filebuf(char *fname, int openOptions);
+struct filebuf *file_to_filebuf(char *fname, int openOptions, bool *isdir);
void free_filebuf(struct filebuf *filebuf);