[flang-commits] [flang] f7858e7 - [flang] Fix build on FreeBSD (need size_t)
peter klausler via flang-commits
flang-commits at lists.llvm.org
Tue Oct 12 13:00:11 PDT 2021
Author: peter klausler
Date: 2021-10-12T13:00:00-07:00
New Revision: f7858e7582e4b0e0e544cc9c09e5a6d92d0957a5
URL: https://github.com/llvm/llvm-project/commit/f7858e7582e4b0e0e544cc9c09e5a6d92d0957a5
DIFF: https://github.com/llvm/llvm-project/commit/f7858e7582e4b0e0e544cc9c09e5a6d92d0957a5.diff
LOG: [flang] Fix build on FreeBSD (need size_t)
Add #include <cstddef> to time-intrinsic.h so std::size_t is
guaranteed to be available.
Added:
Modified:
flang/include/flang/Runtime/time-intrinsic.h
Removed:
################################################################################
diff --git a/flang/include/flang/Runtime/time-intrinsic.h b/flang/include/flang/Runtime/time-intrinsic.h
index 460009995ebf..650c02436ee4 100644
--- a/flang/include/flang/Runtime/time-intrinsic.h
+++ b/flang/include/flang/Runtime/time-intrinsic.h
@@ -14,6 +14,7 @@
#include "flang/Runtime/entry-names.h"
#include <cinttypes>
+#include <cstddef>
namespace Fortran::runtime {
More information about the flang-commits
mailing list