openbsd-ports/math/calc/patches/patch-alloc_h
wcobb 404ac87a84 - update to 2.11.5.8.
- regress target.
- take over maintainership.
ok provos@
2002-08-02 01:50:34 +00:00

15 lines
418 B
Plaintext

$OpenBSD: patch-alloc_h,v 1.1 2002/08/02 01:50:34 wcobb Exp $
--- alloc.h.orig Wed Jul 17 22:26:58 2002
+++ alloc.h Wed Jul 17 22:27:10 2002
@@ -44,9 +44,7 @@
# include <calc/have_memmv.h>
#endif
-#ifdef HAVE_MALLOC_H
-# include <malloc.h>
-#else
+#ifndef HAVE_MALLOC_H
#if defined(FORCE_STDC) || (defined(__STDC__) && __STDC__ != 0) || defined(__cplusplus)
extern void *malloc();
extern void *realloc();