summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJason Riedy <ejr@EECS.Berkeley.EDU>2007-01-25 21:11:40 (GMT)
committerJunio C Hamano <junkio@cox.net>2007-01-26 08:03:23 (GMT)
commit007e2ba65902b484fc65a313e54594a009841740 (patch)
tree6aa04ca951ae0fef99ce3260e2b3e97398ad5852
parentaf67e91c39aff2d955e9c325c6c4e843d5faef60 (diff)
downloadgit-007e2ba65902b484fc65a313e54594a009841740.zip
git-007e2ba65902b484fc65a313e54594a009841740.tar.gz
git-007e2ba65902b484fc65a313e54594a009841740.tar.bz2
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 bf3ceb8..c1bcb00 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