Andrew's git
/
gitweb.git
/ diff
summary
|
log
|
commit
| diff |
tree
commit
grep
author
committer
pickaxe
?
re
Use inttypes.h rather than stdint.h.
author
Jason Riedy
<ejr@EECS.Berkeley.EDU>
Thu, 25 Jan 2007 21:11:40 +0000
(13:11 -0800)
committer
Junio 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
patch
|
blob
|
history
raw
|
patch
| inline |
side by side
(parent:
af67e91
)
diff --git
a/git-compat-util.h
b/git-compat-util.h
index bf3ceb8027e2624209b1c030ce237205c6862d63..c1bcb001a51324ebcb66bfb0a695e20ff366df02 100644
(file)
--- 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