diff --git a/hashmap.c b/hashmap.c
index 34307f628dd..28256bd353b 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 6c53eae5238..674b877a668 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 b94ea447f06..708f12a9476 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"