aboutsummaryrefslogtreecommitdiffstats
path: root/src/gpg/function/GpgCommandExecutor.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/gpg/function/GpgCommandExecutor.cpp')
-rw-r--r--src/gpg/function/GpgCommandExecutor.cpp7
1 files changed, 6 insertions, 1 deletions
diff --git a/src/gpg/function/GpgCommandExecutor.cpp b/src/gpg/function/GpgCommandExecutor.cpp
index a494d4a8..9b99b400 100644
--- a/src/gpg/function/GpgCommandExecutor.cpp
+++ b/src/gpg/function/GpgCommandExecutor.cpp
@@ -22,8 +22,11 @@
*
*/
#include "gpg/function/GpgCommandExecutor.h"
-
+#ifndef WINDOWS
#include <boost/asio.hpp>
+#endif
+
+#ifndef WINDOWS
using boost::process::async_pipe;
@@ -52,3 +55,5 @@ void GpgFrontend::GpgCommandExecutor::Execute(
child_process.wait();
child_process.exit_code();
}
+
+#endif