From 877ddac051c4fc6b32e3e45b02dc628b018b381b Mon Sep 17 00:00:00 2001 From: Alex Langford Date: Wed, 24 May 2023 15:01:22 -0700 Subject: [PATCH] [lldb][NFCI] Include in SBDefines for FILE * definition There are a few API headers that use FILE * but do not include the correct header for their definition. Instead of including in each of the headers manually, it seems easiest to include it in SBDefines to get them all at once. rdar://109579348 Differential Revision: https://reviews.llvm.org/D151381 --- lldb/include/lldb/API/SBDefines.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lldb/include/lldb/API/SBDefines.h b/lldb/include/lldb/API/SBDefines.h index 15f808b..15b25d0 100644 --- a/lldb/include/lldb/API/SBDefines.h +++ b/lldb/include/lldb/API/SBDefines.h @@ -15,6 +15,8 @@ #include "lldb/lldb-types.h" #include "lldb/lldb-versioning.h" +#include // For FILE * + #ifndef LLDB_API #if defined(_WIN32) #if defined(LLDB_IN_LIBLLDB) -- 2.7.4