1 #include <git2.h> 2 #ifdef LIBGIT2_VER_MINOR 3 #if LIBGIT2_VER_MAJOR == 0 && LIBGIT2_VER_MINOR < 26 4 #error Your version of libgit2 is too old! 5 #endif 6 #endif 7