aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ld/ChangeLog4
-rw-r--r--ld/emultempl/pe.em2
2 files changed, 6 insertions, 0 deletions
diff --git a/ld/ChangeLog b/ld/ChangeLog
index 38f74d8..2d8ef51 100644
--- a/ld/ChangeLog
+++ b/ld/ChangeLog
@@ -1,3 +1,7 @@
+2001-05-02 H.J. Lu <hjl@gnu.org>
+
+ * emultempl/pe.em: Include <ctype.h>.
+
2001-05-02 Johan Rydberg <jrydberg@opencores.org>
* emulparams/elf32openrisc.sh: New file.
diff --git a/ld/emultempl/pe.em b/ld/emultempl/pe.em
index bd6c580..99c40ab 100644
--- a/ld/emultempl/pe.em
+++ b/ld/emultempl/pe.em
@@ -52,6 +52,8 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */
#include "deffile.h"
#include "pe-dll.h"
+#include <ctype.h>
+
#define TARGET_IS_${EMULATION_NAME}
/* Permit the emulation parameters to override the default section