openbsd-ports/textproc/unrtf/patches/patch-malloc_c
db 0b159d3eb8 update to version 0.19.3
ok maintainer, sturm@
2005-05-15 18:09:40 +00:00

20 lines
412 B
Plaintext

$OpenBSD: patch-malloc_c,v 1.1 2005/05/15 18:09:41 db Exp $
--- malloc.c.orig Thu Feb 19 00:35:03 2004
+++ malloc.c Thu May 12 12:51:46 2005
@@ -39,14 +39,8 @@
#include <stdio.h>
#include <string.h>
-#if linux /* daved - 0.19.0 */
+#if linux || defined(__OpenBSD__) /* daved - 0.19.0 */
#include <stdlib.h>
-#endif
-
-#if AMIGA
-#include <stdlib.h>
-#else
-#include <malloc.h>
#endif
#include "error.h"