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

10 lines
270 B
Plaintext

$OpenBSD: patch-src_aatest_c,v 1.1 2009/02/09 10:48:51 simon Exp $
--- src/aatest.c.orig Mon Feb 9 00:51:14 2009
+++ src/aatest.c Mon Feb 9 00:51:39 2009
@@ -1,3 +1,5 @@
+#include <stdlib.h>
+#include <string.h>
#include "aalib.h"
int main(int argc, char **argv)
{