1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-15 03:14:23 +00:00
freebsd-ports/graphics/xaos/files/patch-ak
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

21 lines
551 B
Plaintext

--- src/ui/ui-drv/svga/ui_svga.c-- Thu Mar 5 03:19:12 1998
+++ src/ui/ui-drv/svga/ui_svga.c Wed Nov 28 15:48:12 2001
@@ -19,10 +19,17 @@
* along with this program; if not, write to the Free Software
* Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
*/
+#if defined(HAVE_SYS_PARAM_H)
+#include <sys/param.h>
+#endif
#include "aconfig.h"
#ifdef SVGA_DRIVER
#include <stdio.h>
+#if (!defined(BSD) || (BSD < 199506))
#include <malloc.h>
+#else
+#include <stdlib.h>
+#endif
#include <vga.h>
#include <vgagl.h>
#include <vgamouse.h>