OSDN Git Service

Use inttypes.h rather than stdint.h.
authorJason Riedy <ejr@EECS.Berkeley.EDU>
Thu, 25 Jan 2007 21:11:40 +0000 (13:11 -0800)
committerJunio C Hamano <junkio@cox.net>
Fri, 26 Jan 2007 08:03:23 +0000 (00:03 -0800)
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>
git-compat-util.h

index bf3ceb8..c1bcb00 100644 (file)
@@ -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