summaryrefslogtreecommitdiffstats
path: root/src/config-ini.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/config-ini.h')
-rw-r--r--src/config-ini.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/config-ini.h b/src/config-ini.h
index 802195d..58f6608 100644
--- a/src/config-ini.h
+++ b/src/config-ini.h
@@ -2,6 +2,8 @@
#include <libubox/list.h>
+#include <stdio.h>
+
typedef struct {
struct list_head node;
char *key;
@@ -18,5 +20,5 @@ typedef struct {
struct list_head sections;
} ini_file_t;
-ini_file_t * read_ini_file(const char *filename);
+ini_file_t * read_ini_file(FILE *f);
void free_ini_file(ini_file_t *file);