From e630188e6d7ba70304565236c58b189192afadaa Mon Sep 17 00:00:00 2001 From: Alan Modra Date: Thu, 17 Feb 2005 12:59:59 +0000 Subject: * deflex.l (YY_NO_UNPUT): Define. * rclex.l (YY_NO_UNPUT): Define. * rcparse.y (null_unichar): New static var. (res_null_text): Use it rather than attempting to init from wchar_t. * windres.c: Include assert.h and time.h before getopt.h. Include config.h and unistd.h too. --- binutils/windres.c | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) (limited to 'binutils/windres.c') diff --git a/binutils/windres.c b/binutils/windres.c index 5b7fdf1b17..b6006111d7 100644 --- a/binutils/windres.c +++ b/binutils/windres.c @@ -34,6 +34,12 @@ * The res2coff program, written by Pedro A. Aranda . */ +#include "config.h" +#ifdef HAVE_UNISTD_H +#include +#endif +#include +#include #include "bfd.h" #include "getopt.h" #include "bucomm.h" @@ -41,8 +47,6 @@ #include "safe-ctype.h" #include "obstack.h" #include "windres.h" -#include -#include /* Used by resrc.c at least. */ -- cgit v1.2.1