--- a/tools/kdumpid/x86.c
+++ b/tools/kdumpid/x86.c
@@ -2,6 +2,7 @@
 #include <stdlib.h>
 #include <string.h>
 
+#include "config.h"
 #include <dis-asm.h>
 
 #include "kdumpid.h"
--- a/tools/kdumpid/ppc.c
+++ b/tools/kdumpid/ppc.c
@@ -15,6 +15,7 @@
 #include <stdarg.h>
 #include <string.h>
 
+#include "config.h"
 #include <dis-asm.h>
 
 #include "kdumpid.h"
--- a/tools/kdumpid/ppc64.c
+++ b/tools/kdumpid/ppc64.c
@@ -15,6 +15,7 @@
 #include <stdarg.h>
 #include <string.h>
 
+#include "config.h"
 #include <dis-asm.h>
 
 #include "kdumpid.h"
--- a/tools/kdumpid/s390.c
+++ b/tools/kdumpid/s390.c
@@ -15,6 +15,7 @@
 #include <stdarg.h>
 #include <string.h>
 
+#include "config.h"
 #include <dis-asm.h>
 
 #include "kdumpid.h"
