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

11 lines
343 B
Plaintext

$OpenBSD: patch-src_aarec_c,v 1.2 2009/02/09 10:48:51 simon Exp $
--- src/aarec.c.orig Thu Apr 26 16:37:31 2001
+++ src/aarec.c Mon Feb 9 00:47:57 2009
@@ -1,5 +1,5 @@
#include <string.h>
-#include <malloc.h>
+#include <stdlib.h>
#include "aalib.h"
#include "aaint.h"
aa_linkedlist *aa_kbdrecommended = NULL, *aa_mouserecommended = NULL,