Author: Alex Langford Date: 2023-05-26T10:56:17-07:00 New Revision: 877ddac051c4fc6b32e3e45b02dc628b018b381b
URL: https://github.com/llvm/llvm-project/commit/877ddac051c4fc6b32e3e45b02dc628b018b381b DIFF: https://github.com/llvm/llvm-project/commit/877ddac051c4fc6b32e3e45b02dc628b018b381b.diff LOG: [lldb][NFCI] Include <cstdio> 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 <cstdio> 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 Added: Modified: lldb/include/lldb/API/SBDefines.h Removed: ################################################################################ diff --git a/lldb/include/lldb/API/SBDefines.h b/lldb/include/lldb/API/SBDefines.h index 15f808b29fa8d..15b25d08530b8 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 <cstdio> // For FILE * + #ifndef LLDB_API #if defined(_WIN32) #if defined(LLDB_IN_LIBLLDB) _______________________________________________ lldb-commits mailing list lldb-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits