summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLibravatar Jason Riedy <ejr@EECS.Berkeley.EDU>2007-01-25 13:11:40 -0800
committerLibravatar Junio C Hamano <junkio@cox.net>2007-01-26 00:03:23 -0800
commit007e2ba65902b484fc65a313e54594a009841740 (patch)
tree6aa04ca951ae0fef99ce3260e2b3e97398ad5852
parentDocumentation: pack-refs --all vs default behaviour (diff)
downloadtgif-007e2ba65902b484fc65a313e54594a009841740.tar.xz
Use inttypes.h rather than stdint.h.
Older Solaris machines lack stdint.h but have inttypes.h. The standard has inttypes.h including stdint.h, so at worst this pollutes the namespace a bit. Signed-off-by: Jason Riedy <ejr@cs.berkeley.edu> Signed-off-by: Junio C Hamano <junkio@cox.net>
-rw-r--r--git-compat-util.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/git-compat-util.h b/git-compat-util.h
index bf3ceb8027..c1bcb001a5 100644
--- a/git-compat-util.h
+++ b/git-compat-util.h
@@ -46,7 +46,7 @@
#include <arpa/inet.h>
#include <netdb.h>
#include <pwd.h>
-#include <stdint.h>
+#include <inttypes.h>
#undef _ALL_SOURCE /* AIX 5.3L defines a struct list with _ALL_SOURCE. */
#include <grp.h>
#define _ALL_SOURCE 1