Skip to content

Commit

Permalink
added WinSock.h include workarounds.
Browse files Browse the repository at this point in the history
  • Loading branch information
klemens-morgenstern committed Jul 3, 2024
1 parent c342762 commit 2b43612
Show file tree
Hide file tree
Showing 9 changed files with 47 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/environment.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,11 @@
//

#include <boost/process/v2/detail/config.hpp>

#if defined(BOOST_PROCESS_V2_WINDOWS)
#include <boost/asio/windows/basic_object_handle.hpp>
#endif

#include <boost/process/v2/default_launcher.hpp>
#include <boost/process/v2/environment.hpp>

Expand Down
6 changes: 6 additions & 0 deletions src/error.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,12 @@
// file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)

#include <boost/process/v2/detail/config.hpp>

#if defined(BOOST_PROCESS_V2_WINDOWS)
#include <boost/asio/windows/basic_object_handle.hpp>
#endif


#include <boost/process/v2/error.hpp>
#include <boost/process/v2/exit_code.hpp>

Expand Down
5 changes: 5 additions & 0 deletions src/ext/cmd.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,11 @@
// file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)

#include <boost/process/v2/detail/config.hpp>

#if defined(BOOST_PROCESS_V2_WINDOWS)
#include <boost/asio/windows/basic_object_handle.hpp>
#endif

#include <boost/process/v2/detail/last_error.hpp>
#include <boost/process/v2/detail/throw_error.hpp>
#include <boost/process/v2/ext/detail/proc_info.hpp>
Expand Down
5 changes: 5 additions & 0 deletions src/ext/cwd.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,11 @@
// file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)

#include <boost/process/v2/detail/config.hpp>

#if defined(BOOST_PROCESS_V2_WINDOWS)
#include <boost/asio/windows/basic_object_handle.hpp>
#endif

#include <boost/process/v2/detail/last_error.hpp>
#include <boost/process/v2/detail/throw_error.hpp>
#include <boost/process/v2/ext/detail/proc_info.hpp>
Expand Down
5 changes: 5 additions & 0 deletions src/ext/env.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,11 @@
// Distributed under the Boost Software License, Version 1.0. (See accompanying
// file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
#include <boost/process/v2/detail/config.hpp>

#if defined(BOOST_PROCESS_V2_WINDOWS)
#include <boost/asio/windows/basic_object_handle.hpp>
#endif

#include <boost/process/v2/detail/last_error.hpp>
#include <boost/process/v2/detail/throw_error.hpp>
#include <boost/process/v2/ext/detail/proc_info.hpp>
Expand Down
5 changes: 5 additions & 0 deletions src/ext/exe.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,11 @@
// file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)

#include <boost/process/v2/detail/config.hpp>

#if defined(BOOST_PROCESS_V2_WINDOWS)
#include <boost/asio/windows/basic_object_handle.hpp>
#endif

#include <boost/process/v2/detail/last_error.hpp>
#include <boost/process/v2/detail/throw_error.hpp>
#include <boost/process/v2/ext/detail/proc_info.hpp>
Expand Down
5 changes: 5 additions & 0 deletions src/ext/proc_info.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,11 @@
// file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)

#include <boost/process/v2/detail/config.hpp>

#if defined(BOOST_PROCESS_V2_WINDOWS)
#include <boost/asio/windows/basic_object_handle.hpp>
#endif

#include <boost/process/v2/detail/last_error.hpp>
#include <boost/process/v2/detail/throw_error.hpp>
#include <boost/process/v2/ext/detail/proc_info.hpp>
Expand Down
6 changes: 6 additions & 0 deletions src/shell.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,12 @@
// file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)

#include <boost/process/v2/detail/config.hpp>

#if defined(BOOST_PROCESS_V2_WINDOWS)
#include <boost/asio/windows/basic_object_handle.hpp>
#endif


#include <boost/process/v2/detail/last_error.hpp>
#include <boost/process/v2/detail/throw_error.hpp>
#include <boost/process/v2/detail/config.hpp>
Expand Down
5 changes: 5 additions & 0 deletions src/windows/default_launcher.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,11 @@

#include <boost/process/v2/detail/config.hpp>

#if defined(BOOST_PROCESS_V2_WINDOWS)
#include <boost/asio/windows/basic_object_handle.hpp>
#endif


#if defined(BOOST_PROCESS_V2_WINDOWS)

#include <boost/process/v2/windows/default_launcher.hpp>
Expand Down

0 comments on commit 2b43612

Please sign in to comment.