openbsd-ports/graphics/aalib/patches/patch-src_aaedit_c
simon 1c7cd32f95 add missing includes to prevent segfaults
looks sane to ajacoutot@
2009-02-09 10:48:51 +00:00

12 lines
342 B
Plaintext

$OpenBSD: patch-src_aaedit_c,v 1.2 2009/02/09 10:48:51 simon Exp $
--- src/aaedit.c.orig Thu Apr 26 16:37:31 2001
+++ src/aaedit.c Mon Feb 9 00:48:47 2009
@@ -1,6 +1,6 @@
#include <string.h>
#include <ctype.h>
-#include <malloc.h>
+#include <stdlib.h>
#include "aalib.h"
#include "aaint.h"
static void aa_editdisplay(struct aa_edit *e)