1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-27 05:10:36 +00:00

Make this port compile under -CURRENT.

Submitted by:	Matthew Thyer <thyerm@picknowl.com.au>
This commit is contained in:
Joseph Koshy 2001-11-28 10:15:16 +00:00
parent 816382f62b
commit 09f13db8eb
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=50685
2 changed files with 37 additions and 0 deletions

View File

@ -0,0 +1,17 @@
--- 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>

View File

@ -0,0 +1,20 @@
--- 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>