diff --git a/bfd/ChangeLog b/bfd/ChangeLog
index b6a9ea3e6c2..cac533fd243 100644
--- a/bfd/ChangeLog
+++ b/bfd/ChangeLog
@@ -1,3 +1,8 @@
+2007-08-06  Daniel Jacobowitz  <dan@codesourcery.com>
+
+	* Makefile.am (BUILD_HFILES): Clean bfd_stdint.h.
+	* Makefile.in: Regenerated.
+
 2007-08-06  Daniel Jacobowitz  <dan@codesourcery.com>
 
 	* configure.in: Update version to 2.18.50.
diff --git a/bfd/Makefile.am b/bfd/Makefile.am
index 508c18087db..ee6c66ba6e1 100644
--- a/bfd/Makefile.am
+++ b/bfd/Makefile.am
@@ -677,7 +677,7 @@ SOURCE_HFILES = \
 
 ## ... and all .h files which are in the build tree.
 BUILD_HFILES = \
-	bfdver.h elf32-target.h elf64-target.h targmatch.h
+	bfdver.h elf32-target.h elf64-target.h targmatch.h bfd_stdint.h
 
 HFILES = $(SOURCE_HFILES) $(BUILD_HFILES)
 
diff --git a/bfd/Makefile.in b/bfd/Makefile.in
index 97cab1a3142..a13b0eee751 100644
--- a/bfd/Makefile.in
+++ b/bfd/Makefile.in
@@ -926,7 +926,7 @@ SOURCE_HFILES = \
 	vms.h xcoff-target.h xsym.h
 
 BUILD_HFILES = \
-	bfdver.h elf32-target.h elf64-target.h targmatch.h
+	bfdver.h elf32-target.h elf64-target.h targmatch.h bfd_stdint.h
 
 HFILES = $(SOURCE_HFILES) $(BUILD_HFILES)
 SRC_POTFILES = $(SOURCE_CFILES) $(SOURCE_HFILES)