From bb7910319412aea9fecc3625dfcae23da84ee5f1 Mon Sep 17 00:00:00 2001 From: Simon 'corecode' Schubert Date: Wed, 17 Jan 2007 09:07:23 +0100 Subject: Use fixed-size integers for the on-disk pack structure. Plain integer types without a fixed size can vary between platforms. Even though all common platforms use 32-bit ints, there is no guarantee that this won't change at some point. Furthermore, specifying an integer type with explicit size makes the definition of structures more obvious. Signed-off-by: Simon 'corecode' Schubert Signed-off-by: Junio C Hamano --- git-compat-util.h | 1 + 1 file changed, 1 insertion(+) (limited to 'git-compat-util.h') diff --git a/git-compat-util.h b/git-compat-util.h index 8d244d0d92..bf3ceb8027 100644 --- a/git-compat-util.h +++ b/git-compat-util.h @@ -46,6 +46,7 @@ #include #include #include +#include #undef _ALL_SOURCE /* AIX 5.3L defines a struct list with _ALL_SOURCE. */ #include #define _ALL_SOURCE 1 -- cgit v1.2.3