Fix build with GCC-based architectures.

PR:		231939
Submitted by:	Piotr Kubaj
Approved by:	portmgr (tier-2 blanket)
This commit is contained in:
Mark Linimon 2018-10-28 13:44:02 +00:00
parent 099ac98929
commit d9fad62b36
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=483292

View file

@ -0,0 +1,10 @@
--- spot/misc/tmpfile.cc.orig 2018-10-04 12:40:02 UTC
+++ spot/misc/tmpfile.cc
@@ -23,6 +23,7 @@
#include <cstdlib>
#include <unistd.h>
#include <string.h>
+#include <stdlib.h>
namespace spot
{