From db3d0da170e41f220823f2eb6f978989743bf143 Mon Sep 17 00:00:00 2001
From: Ted Kremenek <kremenek@apple.com>
Date: Tue, 5 Jan 2010 20:55:39 +0000
Subject: [PATCH] Add back #include of 'cstdio' to hopefully unbreak the build
 on Linux.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@92765 91177308-0d34-0410-b5e6-96231b3b80d8
---
 tools/CIndex/CIndex.cpp | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/tools/CIndex/CIndex.cpp b/tools/CIndex/CIndex.cpp
index 2b33a63b983..01a4cdd0ae8 100644
--- a/tools/CIndex/CIndex.cpp
+++ b/tools/CIndex/CIndex.cpp
@@ -19,6 +19,9 @@
 #include "llvm/Support/MemoryBuffer.h"
 #include "llvm/System/Program.h"
 
+// Needed to define L_TMPNAM on some systems.
+#include <cstdio>
+
 using namespace clang;
 using namespace idx;
 
-- 
GitLab