diff options
| -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); \ |
