changeset 2543:860e9c83fc59

Include inttypes.h instead of stdint.h (fixes issue299) Many projects use inttypes.h, too. stdint.h isn't available everywhere, e.g. on some versions of Solaris, while inttypes.h is available everywhere where stdint.h is.
author Thomas Arendsen Hein <thomas@intevation.de>
date Fri, 30 Jun 2006 21:41:46 +0200
parents a20877c8a3e2
children 0ab63318bc36
files mercurial/bdiff.c mercurial/mpatch.c
diffstat 2 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/mercurial/bdiff.c	Fri Jun 30 21:41:24 2006 +0200
+++ b/mercurial/bdiff.c	Fri Jun 30 21:41:46 2006 +0200
@@ -38,7 +38,7 @@
 #else
 #include <sys/types.h>
 #include <arpa/inet.h>
-#include <stdint.h>
+#include <inttypes.h>
 #endif
 
 struct line {
--- a/mercurial/mpatch.c	Fri Jun 30 21:41:24 2006 +0200
+++ b/mercurial/mpatch.c	Fri Jun 30 21:41:46 2006 +0200
@@ -43,7 +43,7 @@
 /* not windows */
 # include <sys/types.h>
 # include <arpa/inet.h>
-# include <stdint.h>
+# include <inttypes.h>
 #endif
 
 static char mpatch_doc[] = "Efficient binary patching.";