From 3b2cb2c91ee77e5e45957e8355025e3e742c07bd Mon Sep 17 00:00:00 2001 From: Ciro Santilli Date: Tue, 16 Sep 2014 11:49:25 +0200 Subject: Factor 40 and 41 constants from source. --- src/global.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/global.h') diff --git a/src/global.h b/src/global.h index 106504628..a89a8d6ab 100644 --- a/src/global.h +++ b/src/global.h @@ -7,13 +7,14 @@ #ifndef INCLUDE_global_h__ #define INCLUDE_global_h__ +#include "common.h" #include "mwindow.h" #include "hash.h" typedef struct { git_error *last_error; git_error error_t; - char oid_fmt[41]; + char oid_fmt[GIT_OID_HEXSZ+1]; } git_global_st; #ifdef GIT_SSL -- cgit v1.2.1