diff --git a/binutils/testsuite/ChangeLog b/binutils/testsuite/ChangeLog
index 2e9f2ea5fe9..48317535f07 100644
--- a/binutils/testsuite/ChangeLog
+++ b/binutils/testsuite/ChangeLog
@@ -1,3 +1,7 @@
+1999-07-21  H.J. Lu  <hjl@gnu.org>
+
+	* binutils-all/testprog.c: Include <stdio.h>.
+
 1999-06-29  Nick Clifton  <nickc@cygnus.com>
 
 	* binutils-all/objdump.exp: Add fr30 and MCore to expected cpus
diff --git a/binutils/testsuite/binutils-all/testprog.c b/binutils/testsuite/binutils-all/testprog.c
index 210656b4487..c2b1856dedd 100644
--- a/binutils/testsuite/binutils-all/testprog.c
+++ b/binutils/testsuite/binutils-all/testprog.c
@@ -1,5 +1,7 @@
 /* This program is used to test objcopy and strip.  */
 
+#include <stdio.h>
+
 int common;
 int global = 1;
 static int local = 2;