aboutsummaryrefslogtreecommitdiffstats
path: root/src/common
diff options
context:
space:
mode:
authorRafael G. Martins <rafael@rafaelmartins.eng.br>2016-10-07 02:06:15 +0200
committerRafael G. Martins <rafael@rafaelmartins.eng.br>2016-10-07 02:06:15 +0200
commite52eb9e91481f7dd81abdfc9b7a88c68fe3f2d41 (patch)
treecd7a7559ba7661354bf52a14d3438aa7fe30f29f /src/common
parent2c1b2eaaef8726c71648b4a115fbe628f28d6b4b (diff)
downloadblogc-e52eb9e91481f7dd81abdfc9b7a88c68fe3f2d41.tar.gz
blogc-e52eb9e91481f7dd81abdfc9b7a88c68fe3f2d41.tar.bz2
blogc-e52eb9e91481f7dd81abdfc9b7a88c68fe3f2d41.zip
*: fixed includes
Diffstat (limited to 'src/common')
-rw-r--r--src/common/config-parser.c5
-rw-r--r--src/common/config-parser.h1
-rw-r--r--src/common/file.c1
-rw-r--r--src/common/stdin.c1
4 files changed, 3 insertions, 5 deletions
diff --git a/src/common/config-parser.c b/src/common/config-parser.c
index 9361908..e847623 100644
--- a/src/common/config-parser.c
+++ b/src/common/config-parser.c
@@ -6,10 +6,7 @@
* See the file LICENSE.
*/
-#ifdef HAVE_CONFIG_H
-#include <config.h>
-#endif /* HAVE_CONFIG_H */
-
+#include <stdbool.h>
#include <stdlib.h>
#include "error.h"
#include "utils.h"
diff --git a/src/common/config-parser.h b/src/common/config-parser.h
index 0d30c49..f9f287c 100644
--- a/src/common/config-parser.h
+++ b/src/common/config-parser.h
@@ -9,6 +9,7 @@
#ifndef _CONFIG_PARSER_H
#define _CONFIG_PARSER_H
+#include <stddef.h>
#include "utils.h"
#include "error.h"
diff --git a/src/common/file.c b/src/common/file.c
index 47c97af..36f6ee4 100644
--- a/src/common/file.c
+++ b/src/common/file.c
@@ -7,7 +7,6 @@
*/
#include <errno.h>
-#include <stdarg.h>
#include <stdbool.h>
#include <stdint.h>
#include <stdio.h>
diff --git a/src/common/stdin.c b/src/common/stdin.c
index 2664c3e..345b021 100644
--- a/src/common/stdin.c
+++ b/src/common/stdin.c
@@ -6,6 +6,7 @@
* See the file LICENSE.
*/
+#include <stdbool.h>
#include <stdio.h>
#include "utils.h"
#include "stdin.h"