diff --git a/src/bin/pg_rewind/fetch.h b/src/bin/pg_rewind/fetch.h
index e56fd973cd505ca53ce90098360176bebe4c9a2d..ccb2dab3e9ad880f436f4b17ace8e2fed9df8fe7 100644
--- a/src/bin/pg_rewind/fetch.h
+++ b/src/bin/pg_rewind/fetch.h
@@ -15,8 +15,6 @@
 #ifndef FETCH_H
 #define FETCH_H
 
-#include "c.h"
-
 #include "access/xlogdefs.h"
 
 #include "filemap.h"
diff --git a/src/bin/pg_rewind/pg_rewind.h b/src/bin/pg_rewind/pg_rewind.h
index 5c8e7bb1bfc8e8bee6809b3a78d8976f5e9bfd0a..524478a72bb1cd9534dcbc74e6972da957ff6691 100644
--- a/src/bin/pg_rewind/pg_rewind.h
+++ b/src/bin/pg_rewind/pg_rewind.h
@@ -11,8 +11,6 @@
 #ifndef PG_REWIND_H
 #define PG_REWIND_H
 
-#include "c.h"
-
 #include "datapagemap.h"
 
 #include "access/timeline.h"