diff --git a/hashmap.c b/hashmap.c
index 34307f628d..28256bd353 100644
--- a/hashmap.c
+++ b/hashmap.c
@@ -19,10 +19,6 @@
along with systemd; If not, see .
***/
-#ifdef HAVE_CONFIG_H
-#include
-#endif
-
#include
#include
#include
diff --git a/log.c b/log.c
index 6c53eae523..674b877a66 100644
--- a/log.c
+++ b/log.c
@@ -19,10 +19,6 @@
along with systemd; If not, see .
***/
-#ifdef HAVE_CONFIG_H
-#include
-#endif
-
#include
#include
#include
diff --git a/set.c b/set.c
index b94ea447f0..708f12a947 100644
--- a/set.c
+++ b/set.c
@@ -19,10 +19,6 @@
along with systemd; If not, see .
***/
-#ifdef HAVE_CONFIG_H
-#include
-#endif
-
#include
#include "set.h"