Fix the build in some cases.

PR:		222235
Submitted by:	rozhuk.im (at) gmail.com
This commit is contained in:
Thierry Thomas 2017-11-28 20:43:38 +00:00
parent f3dc4175c9
commit 6a7926a057
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=455075
2 changed files with 12 additions and 1 deletions

View file

@ -3,7 +3,7 @@
PORTNAME= toxcore
PORTVERSION= 0.1.8
PORTREVISION= 2
PORTREVISION= 3
DISTVERSIONPREFIX= v
PORTEPOCH= 1
CATEGORIES= net-im net-p2p

View file

@ -0,0 +1,11 @@
--- toxcore/ccompat.h.orig 2017-04-27 18:20:19 UTC
+++ toxcore/ccompat.h
@@ -29,8 +29,6 @@
// Emulation using alloca.
#ifdef _WIN32
#include <malloc.h>
-#else
-#include <alloca.h>
#endif
#define VLA(type, name, size) \