diff options
author | Alan Modra <amodra@gmail.com> | 2007-04-26 14:47:00 +0000 |
---|---|---|
committer | Alan Modra <amodra@gmail.com> | 2007-04-26 14:47:00 +0000 |
commit | 3db64b009284dda3a1ce10a91beb1297475e60a7 (patch) | |
tree | 857667d21c6a9471c4a2288e1ee9644c1b3b3b56 /binutils/resrc.c | |
parent | 0c3e446c448c0681d859493c61603fc6aaad3489 (diff) | |
download | gdb-3db64b009284dda3a1ce10a91beb1297475e60a7.zip gdb-3db64b009284dda3a1ce10a91beb1297475e60a7.tar.gz gdb-3db64b009284dda3a1ce10a91beb1297475e60a7.tar.bz2 |
bfd/
Many files: Include sysdep.h before bfd.h.
* Makefile.am: Run "make dep-am".
* Makefile.in: Regenerate.
binutils/
* bucumm.h: Split off host dependencies to..
* sysdep.h: ..here.
Many files: Include sysdep.h. Remove duplicate headers and reorder.
* Makefile.am: Run "make dep-am".
* Makefile.in: Regenerate.
ld/
Many files: Include sysdep.h first. Remove duplicate headers.
* Makefile.am: Run "make dep-am".
* Makefile.in: Regenerate.
opcodes/
* Makefile.am: Run "make dep-am".
* Makefile.in: Regenerate.
* ns32k-dis.c: Include sysdep.h first.
Diffstat (limited to 'binutils/resrc.c')
-rw-r--r-- | binutils/resrc.c | 9 |
1 files changed, 3 insertions, 6 deletions
diff --git a/binutils/resrc.c b/binutils/resrc.c index 73b482c..0ec2875 100644 --- a/binutils/resrc.c +++ b/binutils/resrc.c @@ -1,5 +1,5 @@ /* resrc.c -- read and write Windows rc files. - Copyright 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2005 + Copyright 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2005, 2007 Free Software Foundation, Inc. Written by Ian Lance Taylor, Cygnus Support. @@ -23,18 +23,15 @@ /* This file contains functions that read and write Windows rc files. These are text files that represent resources. */ +#include "sysdep.h" #include "bfd.h" -#include "bucomm.h" #include "libiberty.h" #include "safe-ctype.h" +#include "bucomm.h" #include "windres.h" #include <assert.h> -#include <errno.h> #include <sys/stat.h> -#ifdef HAVE_UNISTD_H -#include <unistd.h> -#endif #ifdef HAVE_SYS_WAIT_H #include <sys/wait.h> |