aboutsummaryrefslogtreecommitdiff
path: root/binutils/windres.c
diff options
context:
space:
mode:
authorAlan Modra <amodra@gmail.com>2005-02-17 12:59:59 +0000
committerAlan Modra <amodra@gmail.com>2005-02-17 12:59:59 +0000
commit0af6db78f3e1c1d36a2160cbfc35ccb16cb4ce00 (patch)
tree5e9a92ab44406413bc187fc6479cb2d5a6e48ae5 /binutils/windres.c
parent1808e34136fdb061532afe5ef8d9e28a8fcbc0f8 (diff)
downloadgdb-0af6db78f3e1c1d36a2160cbfc35ccb16cb4ce00.zip
gdb-0af6db78f3e1c1d36a2160cbfc35ccb16cb4ce00.tar.gz
gdb-0af6db78f3e1c1d36a2160cbfc35ccb16cb4ce00.tar.bz2
* 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.
Diffstat (limited to 'binutils/windres.c')
-rw-r--r--binutils/windres.c8
1 files changed, 6 insertions, 2 deletions
diff --git a/binutils/windres.c b/binutils/windres.c
index 5b7fdf1..b600611 100644
--- a/binutils/windres.c
+++ b/binutils/windres.c
@@ -34,6 +34,12 @@
* The res2coff program, written by Pedro A. Aranda <paag@tid.es>. */
+#include "config.h"
+#ifdef HAVE_UNISTD_H
+#include <unistd.h>
+#endif
+#include <assert.h>
+#include <time.h>
#include "bfd.h"
#include "getopt.h"
#include "bucomm.h"
@@ -41,8 +47,6 @@
#include "safe-ctype.h"
#include "obstack.h"
#include "windres.h"
-#include <assert.h>
-#include <time.h>
/* Used by resrc.c at least. */