# HG changeset patch # User Thomas Arendsen Hein # Date 2006-06-30 19:41:46 # Node ID 860e9c83fc590cd8173bb888e3376db58bc2e7d1 # Parent a20877c8a3e257ae3503c7f4cbbccb92f93b5820 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. diff --git a/mercurial/bdiff.c b/mercurial/bdiff.c --- a/mercurial/bdiff.c +++ b/mercurial/bdiff.c @@ -38,7 +38,7 @@ static uint32_t htonl(uint32_t x) #else #include #include -#include +#include #endif struct line { diff --git a/mercurial/mpatch.c b/mercurial/mpatch.c --- a/mercurial/mpatch.c +++ b/mercurial/mpatch.c @@ -43,7 +43,7 @@ static uint32_t ntohl(uint32_t x) /* not windows */ # include # include -# include +# include #endif static char mpatch_doc[] = "Efficient binary patching.";