Files
pkgsrc-ng/meta-pkgs/boost/patches/patch-libs_filesystem_src_unique_path.cpp
2013-09-26 17:14:40 +02:00

15 lines
438 B
C++

$NetBSD: patch-libs_filesystem_src_unique_path.cpp,v 1.2 2013/02/12 21:07:22 adam Exp $
Include unistd.h for read() and close().
--- libs/filesystem/src/unique_path.cpp.orig Thu Aug 2 12:04:47 2012
+++ libs/filesystem/src/unique_path.cpp Thu Aug 2 12:04:55 2012
@@ -21,6 +21,7 @@
# ifdef BOOST_POSIX_API
# include <fcntl.h>
+# include <unistd.h>
# else // BOOST_WINDOWS_API
# include <windows.h>
# include <wincrypt.h>