gcc 4.4 needs cstdio for printf. Reorder includes while at it.
llvm-svn: 80430
diff --git a/clang/tools/CIndex/CIndex.cpp b/clang/tools/CIndex/CIndex.cpp
index 4c1cac9..a02e809 100644
--- a/clang/tools/CIndex/CIndex.cpp
+++ b/clang/tools/CIndex/CIndex.cpp
@@ -12,15 +12,12 @@
//===----------------------------------------------------------------------===//
#include "clang-c/Index.h"
-
#include "clang/Index/Program.h"
#include "clang/Index/Indexer.h"
-
-#include "clang/Frontend/ASTUnit.h"
-#include "clang/Basic/FileManager.h"
-
#include "clang/AST/DeclVisitor.h"
-
+#include "clang/Basic/FileManager.h"
+#include "clang/Frontend/ASTUnit.h"
+#include <cstdio>
using namespace clang;
using namespace idx;