flags.h now pulls in the headers it needs.