openbsd-ports/shells/tcsh/patches/patch-sh.h
brad c8e16c48bd upgrade to tcsh 6.10.00
--
From: naddy@
2000-12-31 19:22:56 +00:00

12 lines
402 B
C

--- sh.h.orig Wed Aug 2 02:42:54 2000
+++ sh.h Wed Aug 2 02:43:22 2000
@@ -279,7 +279,7 @@
* redefines malloc(), so we define the following
* to avoid it.
*/
-# if defined(linux) || defined(sgi) || defined(_OSD_POSIX)
+# if defined(linux) || defined(sgi) || defined(_OSD_POSIX) || defined(__FreeBSD__) || defined(__OpenBSD__)
# define NO_FIX_MALLOC
# include <stdlib.h>
# else /* linux */