aboutsummaryrefslogtreecommitdiffstats
path: root/src/common
diff options
context:
space:
mode:
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"