[flang-commits] [flang] 1b18391 - [flang] Add missing include for std::min
Tim Keith via flang-commits
flang-commits at lists.llvm.org
Mon Jul 6 13:03:15 PDT 2020
Author: Tim Keith
Date: 2020-07-06T13:03:02-07:00
New Revision: 1b183918184ecbcd03898badf8d1789ea0f4ffe4
URL: https://github.com/llvm/llvm-project/commit/1b183918184ecbcd03898badf8d1789ea0f4ffe4
DIFF: https://github.com/llvm/llvm-project/commit/1b183918184ecbcd03898badf8d1789ea0f4ffe4.diff
LOG: [flang] Add missing include for std::min
This was causing the build to fail on macos.
Differential Revision: https://reviews.llvm.org/D83237
Added:
Modified:
flang/runtime/file.cpp
Removed:
################################################################################
diff --git a/flang/runtime/file.cpp b/flang/runtime/file.cpp
index 120c1cef7fe0..19c86a9d4b82 100644
--- a/flang/runtime/file.cpp
+++ b/flang/runtime/file.cpp
@@ -9,6 +9,7 @@
#include "file.h"
#include "magic-numbers.h"
#include "memory.h"
+#include <algorithm>
#include <cerrno>
#include <cstring>
#include <fcntl.h>
More information about the flang-commits
mailing list