changeset 463:ea93402b81b9

Added stdint.h include to fix build on Mac OS X Tiger [v10.4]
author kyle@zeus.moffetthome.net
date Fri, 24 Jun 2005 20:53:51 -0500
parents ff8fbf99cd64
children 50da4bb9cab6
files mercurial/bdiff.c mercurial/mpatch.c
diffstat 2 files changed, 2 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/mercurial/bdiff.c
+++ b/mercurial/bdiff.c
@@ -27,6 +27,7 @@ static uint32_t htonl(uint32_t x)
 #else
   #include <netinet/in.h>
   #include <sys/types.h>
+  #include <stdint.h>
 #endif
 
 struct line {
--- a/mercurial/mpatch.c
+++ b/mercurial/mpatch.c
@@ -38,6 +38,7 @@ static uint32_t ntohl(uint32_t x)
 #else
   #include <netinet/in.h>
   #include <sys/types.h>
+  #include <stdint.h>
 #endif
 
 static char mpatch_doc[] = "Efficient binary patching.";