pkgsrc/chat/icb/patches/patch-aw
christos 460bd4190f make this work on 64 bit platforms:
- fix warnings for missing prototypes
- use termios instead of sgtty (why doesn't this work on amd64?)
2008-12-17 02:19:59 +00:00

13 lines
373 B
Text

$NetBSD: patch-aw,v 1.2 2008/12/17 02:19:59 christos Exp $
--- malloc/xmalloc.c.orig 1995-02-24 16:20:43.000000000 -0500
+++ malloc/xmalloc.c 2008-12-16 20:18:01.000000000 -0500
@@ -20,6 +20,8 @@
Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */
#include <stdio.h>
+#include <stdlib.h>
+#include <unistd.h>
static void memory_error_and_abort ();