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

12 lines
294 B
Plaintext

$OpenBSD: patch-src_aalib_c,v 1.2 2009/02/09 10:48:51 simon Exp $
--- src/aalib.c.orig Thu Apr 26 16:37:31 2001
+++ src/aalib.c Mon Feb 9 00:48:39 2009
@@ -1,6 +1,6 @@
#include <stdio.h>
#include <string.h>
-#include <malloc.h>
+#include <stdlib.h>
#include "aalib.h"
#include "aaint.h"