diff --git a/src/version.h b/src/version.h index b2e554633..f4b755579 100644 --- a/src/version.h +++ b/src/version.h @@ -31,11 +31,13 @@ ** */ -#include "gitinfo.h" - #ifndef __VERSION_H__ #define __VERSION_H__ +#ifdef _WIN32 +#include "gitinfo.h" +#endif // _WIN32 + const char *GetGitDescription(); const char *GetGitHash(); const char *GetGitTime();