[flang-commits] [flang] 2583b2e - [flang][NFC] Add missing include for FreeBSD
Tom Eccles via flang-commits
flang-commits at lists.llvm.org
Wed Apr 17 12:59:13 PDT 2024
Author: Tom Eccles
Date: 2024-04-17T19:57:15Z
New Revision: 2583b2eea4a509424e5e5f51dffedd9beede76a3
URL: https://github.com/llvm/llvm-project/commit/2583b2eea4a509424e5e5f51dffedd9beede76a3
DIFF: https://github.com/llvm/llvm-project/commit/2583b2eea4a509424e5e5f51dffedd9beede76a3.diff
LOG: [flang][NFC] Add missing include for FreeBSD
Suggested by dankm here: https://github.com/llvm/llvm-project/pull/88517
Added:
Modified:
flang/runtime/extensions.cpp
Removed:
################################################################################
diff --git a/flang/runtime/extensions.cpp b/flang/runtime/extensions.cpp
index 12498b502ae1cf..80604d886a7014 100644
--- a/flang/runtime/extensions.cpp
+++ b/flang/runtime/extensions.cpp
@@ -21,6 +21,7 @@
#include <ctime>
#include <signal.h>
#include <thread>
+#include <unistd.h>
#ifdef _WIN32
inline void CtimeBuffer(char *buffer, size_t bufsize, const time_t cur_time,
More information about the flang-commits
mailing list