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>
Jason Riedy committed
Jan 25, 2007 at 13:11 UTC
007e2ba65902b484fc65a313e54594a009841740
1 file changed
+1
-1
git-compat-util.h
+1
-1
@@ -46,7 +46,7 @@
46
#include <arpa/inet.h>
47
#include <netdb.h>
48
#include <pwd.h>
49
-#include <stdint.h>
49
+#include <inttypes.h>
50
#undef _ALL_SOURCE /* AIX 5.3L defines a struct list with _ALL_SOURCE. */
51
#include <grp.h>
52
#define _ALL_SOURCE 1