aboutsummaryrefslogtreecommitdiff
path: root/git-compat-util.h
diff options
context:
space:
mode:
authorJason Riedy <ejr@EECS.Berkeley.EDU>2007-01-25 13:11:40 -0800
committerJunio C Hamano <junkio@cox.net>2007-01-26 00:03:23 -0800
commit007e2ba65902b484fc65a313e54594a009841740 (patch)
tree6aa04ca951ae0fef99ce3260e2b3e97398ad5852 /git-compat-util.h
parentaf67e91c39aff2d955e9c325c6c4e843d5faef60 (diff)
downloadgit-007e2ba65902b484fc65a313e54594a009841740.tar.gz
git-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>
Diffstat (limited to 'git-compat-util.h')
-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 bf3ceb802..c1bcb001a 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