--- binutils-2.14.90.0.8/ld/pe-dll.c.orig 2004-01-14 21:07:52.000000000 +0000 +++ binutils-2.14.90.0.8/ld/pe-dll.c 2004-02-18 21:56:38.000000000 +0000 @@ -25,6 +25,7 @@ #include "libiberty.h" #include "safe-ctype.h" +#include #include #include "ld.h" @@ -916,8 +917,8 @@ { int s, hint; unsigned char *edirectory; - unsigned long *eaddresses; - unsigned long *enameptrs; + uint32_t *eaddresses; + uint32_t *enameptrs; unsigned short *eordinals; unsigned char *enamestr; time_t now; @@ -928,7 +929,7 @@ /* Note use of array pointer math here. */ edirectory = edata_d; - eaddresses = (unsigned long *) (edata_d + 40); + eaddresses = (uint32_t *) (edata_d + 40); enameptrs = eaddresses + export_table_size; eordinals = (unsigned short *) (enameptrs + count_exported_byname); enamestr = (char *) (eordinals + count_exported_byname);