summaryrefslogtreecommitdiff
path: root/src/core
diff options
context:
space:
mode:
authorcoypoop <coypu@sdf.org>2017-11-04 17:58:38 +0200
committerGitHub <noreply@github.com>2017-11-04 17:58:38 +0200
commit5373908539bae6051c409b25b045ae9f1ae29213 (patch)
tree4c5fd148389baaec46b4cf0cd9e1b48ff83fdd79 /src/core
parent650242d179940f6bcf0b5250a26ab019161a405e (diff)
downloadweechat-5373908539bae6051c409b25b045ae9f1ae29213.zip
Include stdio.h for FILE
so this header can be included even if it's not already included
Diffstat (limited to 'src/core')
-rw-r--r--src/core/wee-config-file.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/core/wee-config-file.h b/src/core/wee-config-file.h
index 44b62e12c..1d826def2 100644
--- a/src/core/wee-config-file.h
+++ b/src/core/wee-config-file.h
@@ -21,6 +21,8 @@
#ifndef WEECHAT_CONFIG_FILE_H
#define WEECHAT_CONFIG_FILE_H
+#include <stdio.h>
+
#define CONFIG_BOOLEAN(option) (*((int *)((option)->value)))
#define CONFIG_BOOLEAN_DEFAULT(option) (*((int *)((option)->default_value)))