15 lines
438 B
C++
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>
|