gcc 4.4 needs cstdio for printf. Reorder includes while at it.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@80430 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/tools/CIndex/CIndex.cpp b/tools/CIndex/CIndex.cpp
index 4c1cac9..a02e809 100644
--- a/tools/CIndex/CIndex.cpp
+++ b/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;