1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-30 05:40:06 +00:00

sysutils/mxkill x11/mxascii: Fix FreeBSD-11 build

FreeBSD-11 still contains #error in malloc.h rather than include
stdlib.h.

Reported by:	linimon
This commit is contained in:
Cy Schubert 2021-03-16 16:39:41 +00:00
parent 89159fbbdf
commit eb38140753
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=568583
2 changed files with 20 additions and 0 deletions

View File

@ -0,0 +1,10 @@
--- xhead.h.orig 1997-03-02 11:06:48.000000000 -0800
+++ xhead.h 2021-03-16 08:52:47.491466000 -0700
@@ -26,7 +26,6 @@
#include <stdio.h>
#include <stdlib.h>
-#include <malloc.h>
#include <memory.h>
#include <ctype.h>
#include <string.h>

View File

@ -0,0 +1,10 @@
--- xhead.h.orig 1996-06-18 15:52:31.000000000 -0700
+++ xhead.h 2021-03-16 08:52:44.972493000 -0700
@@ -26,7 +26,6 @@
#include <stdio.h>
#include <stdlib.h>
-#include <malloc.h>
#include <memory.h>
#include <ctype.h>
#include <string.h>