Type information for AST printer.

The order of includes shoud be  (C, STL, Boost, other libs, base ethereum libs, current ethereum lib) , according to Gav. since you are in libsolidity I would suggest:
#include <libdevcore/CommonIO.h>
#include "AST.h"
#include "Types.h"