[clang] c0cfe54 - [clang] Include header providing `off_t` (#190259)
via cfe-commits
cfe-commits at lists.llvm.org
Thu Apr 2 14:02:47 PDT 2026
Author: Jan Svoboda
Date: 2026-04-02T21:02:41Z
New Revision: c0cfe546a1a55b361e86add5b481d17ee624202a
URL: https://github.com/llvm/llvm-project/commit/c0cfe546a1a55b361e86add5b481d17ee624202a
DIFF: https://github.com/llvm/llvm-project/commit/c0cfe546a1a55b361e86add5b481d17ee624202a.diff
LOG: [clang] Include header providing `off_t` (#190259)
This should fix the modules build.
Added:
Modified:
clang/include/clang/Serialization/ModuleCache.h
Removed:
################################################################################
diff --git a/clang/include/clang/Serialization/ModuleCache.h b/clang/include/clang/Serialization/ModuleCache.h
index 107f87b326008..6683511b56a05 100644
--- a/clang/include/clang/Serialization/ModuleCache.h
+++ b/clang/include/clang/Serialization/ModuleCache.h
@@ -13,6 +13,7 @@
#include <ctime>
#include <memory>
+#include <sys/types.h>
#include <system_error>
namespace llvm {
More information about the cfe-commits
mailing list