# HG changeset patch # User mpm@selenic.com # Date 1119745120 28800 # Node ID aa3d592df9b9d1fb710345f1aa7888bfe56efed4 # Parent 4c7f687e43131e4132c778207be076598851e2c8 extensions: use stdint.h -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 extensions: use stdint.h Not sure why I didn't do this the first time around. Hopefully still builds everywhere. manifest hash: 965582286a190728f8cc0dfb8e11ee56628a59a5 -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.0 (GNU/Linux) iD8DBQFCvfRgywK+sNU5EO8RAg9SAJ4/ZVpQZcDY5xovLDTZK2txEegEgwCdF2b+ lzSIP109qq8D+KIdUWsbEPc= =+0Yy -----END PGP SIGNATURE----- diff -r 4c7f687e4313 -r aa3d592df9b9 mercurial/bdiff.c --- a/mercurial/bdiff.c Sat Jun 25 16:17:34 2005 -0800 +++ b/mercurial/bdiff.c Sat Jun 25 16:18:40 2005 -0800 @@ -12,10 +12,8 @@ #include #include #include +#include #ifdef _WIN32 - -typedef unsigned long uint32_t; - static uint32_t htonl(uint32_t x) { return ((x & 0x000000ffUL) << 24) | @@ -23,11 +21,8 @@ ((x & 0x00ff0000UL) >> 8) | ((x & 0xff000000UL) >> 24); } - #else - #include - #include - #include +#include #endif struct line { diff -r 4c7f687e4313 -r aa3d592df9b9 mercurial/mpatch.c --- a/mercurial/mpatch.c Sat Jun 25 16:17:34 2005 -0800 +++ b/mercurial/mpatch.c Sat Jun 25 16:18:40 2005 -0800 @@ -23,10 +23,8 @@ #include #include #include +#include #ifdef _WIN32 - -typedef unsigned long uint32_t; - static uint32_t ntohl(uint32_t x) { return ((x & 0x000000ffUL) << 24) | @@ -34,11 +32,8 @@ ((x & 0x00ff0000UL) >> 8) | ((x & 0xff000000UL) >> 24); } - #else - #include - #include - #include +#include #endif static char mpatch_doc[] = "Efficient binary patching.";