I'm trying to build Gallium using LLVM 4.0 on Windows, and it says that git_sha1.h is missing. Removing the include from version.c fixes the problem and Mesa compiles as usual.