changeset 2483:5583d5ef257e

Fixed conditional include of stdint.h for windows/msvc6/python2.3 environment.
author Shun-ichi GOTO <shunichi.goto@gmail.com>
date Thu, 22 Jun 2006 13:19:52 +0900
parents 818ebebc4554
children eabcda3ed0dd
files mercurial/bdiff.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/mercurial/bdiff.c
+++ b/mercurial/bdiff.c
@@ -10,7 +10,6 @@
 */
 
 #include <Python.h>
-#include <stdint.h>
 #include <stdlib.h>
 #include <string.h>
 
@@ -39,6 +38,7 @@ static uint32_t htonl(uint32_t x)
 #else
 #include <sys/types.h>
 #include <arpa/inet.h>
+#include <stdint.h>
 #endif
 
 struct line {