mirror of
https://git.FreeBSD.org/ports.git
synced 2025-02-07 11:49:40 +00:00
Fix brokeness where <malloc.h> was included even though <stdlib.h>
is already there. Approved by: portmgr (erwin)
This commit is contained in:
parent
ecf1b3865e
commit
803b0c0738
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=202566
@ -7,6 +7,7 @@
|
||||
|
||||
PORTNAME= libdwarf
|
||||
PORTVERSION= 20070703
|
||||
PORTREVISION= 1
|
||||
CATEGORIES= devel
|
||||
MASTER_SITES= http://reality.sgiweb.org/davea/
|
||||
|
||||
|
16
devel/libdwarf/files/patch-pro_alloc.c
Normal file
16
devel/libdwarf/files/patch-pro_alloc.c
Normal file
@ -0,0 +1,16 @@
|
||||
--- pro_alloc.c.orig Wed Jul 4 01:37:21 2007
|
||||
+++ pro_alloc.c Wed Nov 7 12:35:05 2007
|
||||
@@ -40,11 +40,12 @@
|
||||
#include "pro_incl.h"
|
||||
#ifdef HAVE_STDLIB_H
|
||||
#include <stdlib.h>
|
||||
+#else
|
||||
+#include <malloc.h>
|
||||
#endif /* HAVE_STDLIB_H */
|
||||
#ifdef HAVE_STRING_H
|
||||
#include <string.h>
|
||||
#endif /* HAVE_STRING_H */
|
||||
-#include <malloc.h>
|
||||
|
||||
/*
|
||||
When each block is allocated, there is a two-word structure
|
Loading…
x
Reference in New Issue
Block a user