freebsd-ports/graphics/xaos/files/patch-aj
Joseph Koshy 09f13db8eb Make this port compile under -CURRENT.
Submitted by:	Matthew Thyer <thyerm@picknowl.com.au>
2001-11-28 10:15:16 +00:00

18 lines
405 B
Plaintext

--- src/ui/ui-drv/aa/ui_aa.c-- Wed Nov 28 15:41:11 2001
+++ src/ui/ui-drv/aa/ui_aa.c Wed Nov 28 15:43:31 2001
@@ -1,7 +1,14 @@
+#if defined(HAVE_SYS_PARAM_H)
+#include <sys/param.h>
+#endif
#include "aconfig.h"
#ifdef AA_DRIVER
#include <string.h>
+#if (!defined(BSD) || (BSD < 199506))
#include <malloc.h>
+#else
+#include <stdlib.h>
+#endif
#include <aalib.h>
#include <ui.h>
#include <unistd.h>