diff options
-rw-r--r-- | tools/CIndex/CIndex.cpp | 3 |
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; |