From 8dec7b03798a822337c86dbbea2f764d165cd61d Mon Sep 17 00:00:00 2001 From: Christopher Faylor Date: Wed, 6 Sep 2000 21:03:10 +0000 Subject: [PATCH] * sigproc.cc: Add include file for proper definitions. * spawn.cc: Ditto. * winsup.h: Define cfree to avoid newlib pollution. --- winsup/cygwin/ChangeLog | 6 ++++++ winsup/cygwin/sigproc.cc | 1 + winsup/cygwin/spawn.cc | 2 +- winsup/cygwin/winsup.h | 2 ++ 4 files changed, 10 insertions(+), 1 deletion(-) 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