aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTed Kremenek <kremenek@apple.com>2010-01-05 20:55:39 +0000
committerTed Kremenek <kremenek@apple.com>2010-01-05 20:55:39 +0000
commitdb3d0da170e41f220823f2eb6f978989743bf143 (patch)
tree165ff3e1ca2cbb51f54f9f860178482f5ae0d4e7
parentab1889321f6f8f200f2b318ac26883ac18e49d03 (diff)
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
-rw-r--r--tools/CIndex/CIndex.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/tools/CIndex/CIndex.cpp b/tools/CIndex/CIndex.cpp
index 2b33a63b98..01a4cdd0ae 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;