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

11 lines
302 B
Plaintext

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