mercurial/bdiff.c
changeset 510 7f3fc8fd427e
parent 495 e94cebc60d96
child 551 b460a2fd8bb7
child 553 f2442a6a5893
--- a/mercurial/bdiff.c	Tue Jun 28 02:48:21 2005 -0800
+++ b/mercurial/bdiff.c	Tue Jun 28 03:08:47 2005 -0800
@@ -13,6 +13,7 @@
 #include <stdlib.h>
 #include <string.h>
 #ifdef _WIN32
+#include <stdint.h>
 static uint32_t htonl(uint32_t x)
 {
 	return ((x & 0x000000ffUL) << 24) |
@@ -21,6 +22,7 @@
 		((x & 0xff000000UL) >> 24);
 }
 #else
+#include <sys/types.h>
 #include <netinet/in.h>
 #endif