diff --git a/winsup/cygwin/ChangeLog b/winsup/cygwin/ChangeLog index 95110eac7..9ac5c91cd 100644 --- a/winsup/cygwin/ChangeLog +++ b/winsup/cygwin/ChangeLog @@ -1,3 +1,9 @@ +Wed Sep 6 16:56:38 2000 Christopher Faylor + + * sigproc.cc: Add include file for proper definitions. + * spawn.cc: Ditto. + * winsup.h: Define cfree to avoid newlib pollution. + Wed Sep 6 14:11:51 2000 Christopher Faylor * Makefile.in (CFLAGS): Ensure that -MD is always added even when diff --git a/winsup/cygwin/sigproc.cc b/winsup/cygwin/sigproc.cc index 93313525d..50b8495ed 100644 --- a/winsup/cygwin/sigproc.cc +++ b/winsup/cygwin/sigproc.cc @@ -20,6 +20,7 @@ details. */ #include "sync.h" #include "sigproc.h" #include "pinfo.h" +#include "cygheap.h" #include "child_info.h" #include "perthread.h" #include diff --git a/winsup/cygwin/spawn.cc b/winsup/cygwin/spawn.cc index 82ee7fa0a..a6dc10fa9 100644 --- a/winsup/cygwin/spawn.cc +++ b/winsup/cygwin/spawn.cc @@ -25,9 +25,9 @@ details. */ #include "dtable.h" #include "sync.h" #include "sigproc.h" +#include "cygheap.h" #include "child_info.h" #include "pinfo.h" -#include "cygheap.h" #include "perthread.h" #define LINE_BUF_CHUNK (MAX_PATH * 2) diff --git a/winsup/cygwin/winsup.h b/winsup/cygwin/winsup.h index ce067260e..a07c2471a 100644 --- a/winsup/cygwin/winsup.h +++ b/winsup/cygwin/winsup.h @@ -56,6 +56,8 @@ __asm__ __volatile__( return __res; } +#define cfree newlib_cfree_dont_use + #define WIN32_LEAN_AND_MEAN 1 #define _WINGDI_H #define _WINUSER_H