Ticket #11733: 0001-boost-Adds-missing-include-for-file-operations.patch

File 0001-boost-Adds-missing-include-for-file-operations.patch, 859 bytes (added by Idar Tollefsen <idart@…>, 7 years ago)
  • boost/libs/filesystem/src/unique_path.cpp

    From b1f26c44ff9e63fc51c7c255fa035432b8e15faf Mon Sep 17 00:00:00 2001
    From: Idar Tollefsen <itollefs@cisco.com>
    Date: Mon, 12 Oct 2015 16:28:49 +0200
    Subject: [PATCH] boost: Adds missing include for file operations.
    MIME-Version: 1.0
    Content-Type: text/plain; charset=utf-8
    Content-Transfer-Encoding: 8bit
    
    ---
     functional/boost/libs/filesystem/src/unique_path.cpp | 3 +++
     1 file changed, 3 insertions(+)
    
    diff --git a/boost/libs/filesystem/src/unique_path.cpp b/boost/libs/filesystem/src/unique_path.cpp
    index 629f860..aefc8f0 100644
    a b  
    2222
    2323# ifdef BOOST_POSIX_API
    2424#   include <fcntl.h>
     25#   ifdef BOOST_HAS_UNISTD_H
     26#     include <unistd.h>
     27#   endif
    2528# else // BOOST_WINDOWS_API
    2629#   include <windows.h>
    2730#   include <wincrypt.h>