Fix build by including stdlib.h for the definition of alloca()

This commit is contained in:
Stefan Eßer 2020-09-21 19:47:50 +00:00
parent 52ec6d72ba
commit 8bd840bc1c
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=549486
2 changed files with 11 additions and 1 deletions

View file

@ -3,7 +3,7 @@
PORTNAME= ncc
PORTVERSION= 2.8
PORTREVISION= 2
PORTREVISION= 3
CATEGORIES= devel
MASTER_SITES= http://students.ceid.upatras.gr/~sxanth/ncc/

View file

@ -0,0 +1,10 @@
--- dbstree.C.orig 2004-12-01 03:54:40 UTC
+++ dbstree.C
@@ -12,6 +12,7 @@
*****************************************************************************/
#include <stdio.h>
+#include <stdlib.h>
#include <assert.h>
#include <string.h>
#include "dbstree.h"