Skip to content

Commit 877ddac

Browse files
committed
[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
1 parent b1cf54f commit 877ddac

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

lldb/include/lldb/API/SBDefines.h

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,8 @@
1515
#include "lldb/lldb-types.h"
1616
#include "lldb/lldb-versioning.h"
1717

18+
#include <cstdio> // For FILE *
19+
1820
#ifndef LLDB_API
1921
#if defined(_WIN32)
2022
#if defined(LLDB_IN_LIBLLDB)

0 commit comments

Comments
 (0)