aboutsummaryrefslogtreecommitdiffstats
path: root/src/file.h
diff options
context:
space:
mode:
authorRafael G. Martins <rafael@rafaelmartins.eng.br>2015-05-09 22:25:30 -0300
committerRafael G. Martins <rafael@rafaelmartins.eng.br>2015-05-09 22:25:30 -0300
commit15d3beecdd227c08df600336dff9ecd2d5979136 (patch)
tree14601d06e48a8dc20cc60a19f6d978ee4ac13dd5 /src/file.h
parent0cb80d3050de4adb65b6c4acb4c9ac765b2ae448 (diff)
downloadblogc-15d3beecdd227c08df600336dff9ecd2d5979136.tar.gz
blogc-15d3beecdd227c08df600336dff9ecd2d5979136.tar.bz2
blogc-15d3beecdd227c08df600336dff9ecd2d5979136.zip
fixing gcc stupidity
Diffstat (limited to 'src/file.h')
-rw-r--r--src/file.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/file.h b/src/file.h
index 5abdba7..5ff8dd0 100644
--- a/src/file.h
+++ b/src/file.h
@@ -9,11 +9,14 @@
#ifndef _FILE_H
#define _FILE_H
+#include <stdio.h>
+#include <stdlib.h>
#include "utils/utils.h"
#include "error.h"
#define BLOGC_FILE_CHUNK_SIZE 1024
char* blogc_file_get_contents(const char *path, size_t *len, blogc_error_t **err);
+int blogc_fprintf(FILE *stream, const char *format, ...);
#endif /* _FILE_H */