aboutsummaryrefslogtreecommitdiff
path: root/libbuild2/cc/windows-rpath.cxx
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2019-10-16 13:02:10 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2019-10-16 13:02:10 +0200
commit8da6810950270a9fabd4e0d9c6ea6e214793d732 (patch)
tree48d8ae4157265c6b30fba4e2075a2d84ea53f5e8 /libbuild2/cc/windows-rpath.cxx
parent5338cd3b93972c60ac90d4c2c5a640071f92d091 (diff)
Try to find MSVC installation for absolute cl.exe paths
Without this extra logic recursive invocation of the build system (e.g., in tests) will fail to obtain the full environment.
Diffstat (limited to 'libbuild2/cc/windows-rpath.cxx')
-rw-r--r--libbuild2/cc/windows-rpath.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/libbuild2/cc/windows-rpath.cxx b/libbuild2/cc/windows-rpath.cxx
index b5d82b1..2ea5b08 100644
--- a/libbuild2/cc/windows-rpath.cxx
+++ b/libbuild2/cc/windows-rpath.cxx
@@ -2,7 +2,7 @@
// copyright : Copyright (c) 2014-2019 Code Synthesis Ltd
// license : MIT; see accompanying LICENSE file
-#include <errno.h> // E*
+#include <cerrno> // E*
#include <libbuild2/scope.hxx>
#include <libbuild2/context.hxx>