diff options
author | David Billinghurst <David.Billinghurst@riotinto.com> | 2001-03-17 04:59:14 +0000 |
---|---|---|
committer | Christopher Faylor <cgf@gcc.gnu.org> | 2001-03-17 04:59:14 +0000 |
commit | 3b92de0680c4923043d5cfd81401d03e0da8d88d (patch) | |
tree | 22de80af2a58802849596766805820b202337672 | |
parent | 0c35f90252437cc70dcfff7f3b742a59e749451d (diff) | |
download | gcc-3b92de0680c4923043d5cfd81401d03e0da8d88d.zip gcc-3b92de0680c4923043d5cfd81401d03e0da8d88d.tar.gz gcc-3b92de0680c4923043d5cfd81401d03e0da8d88d.tar.bz2 |
* config/i386/xm-cygwin.h: Include <sys/cygwin.h. Remove unused variable.
From-SVN: r40572
-rw-r--r-- | gcc/ChangeLog | 5 | ||||
-rw-r--r-- | gcc/config/i386/xm-cygwin.h | 3 |
2 files changed, 7 insertions, 1 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 6a81bc1..ceb5c89 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2001-03-17 David Billinghurst <David.Billinghurst@riotinto.com> + + * config/i386/xm-cygwin.h: Include <sys/cygwin.h. Remove unused + variable. + 2001-03-16 Jim Wilson <wilson@redhat.com> * config/ia64/ia64.c (ia64_compute_frame_size): If reg_fp is zero, diff --git a/gcc/config/i386/xm-cygwin.h b/gcc/config/i386/xm-cygwin.h index d0a2f62..7c9c1a0 100644 --- a/gcc/config/i386/xm-cygwin.h +++ b/gcc/config/i386/xm-cygwin.h @@ -19,6 +19,8 @@ along with GNU CC; see the file COPYING. If not, write to the Free Software Foundation, 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ +#include <sys/cygwin.h> + #define EXECUTABLE_SUFFIX ".exe" /* Even though Cygwin tries to hide the DOS based filesystem, it @@ -45,7 +47,6 @@ do { \ if (_epath != NULL && *_epath != 0 \ && ! cygwin_posix_path_list_p (_epath)) \ { \ - char *p; \ _posixepath = (char *) xmalloc \ (cygwin_win32_to_posix_path_list_buf_size (_epath)); \ cygwin_win32_to_posix_path_list (_epath, _posixepath); \ |