math/carve: add <unistd.h> for modern compilers

Approved by:	portmgr (bapt, implicit)
This commit is contained in:
John Marino 2013-10-01 19:28:10 +00:00
parent 0277870162
commit b33c7f547a
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=328984

View file

@ -0,0 +1,10 @@
--- external/gtest-1.5.0/include/gtest/internal/gtest-port.h.orig 2011-08-26 20:16:23.000000000 +0000
+++ external/gtest-1.5.0/include/gtest/internal/gtest-port.h
@@ -176,6 +176,7 @@
#ifndef _WIN32_WCE
#include <sys/stat.h>
#endif // !_WIN32_WCE
+#include <unistd.h>
#include <iostream> // NOLINT
#include <sstream> // NOLINT