comparison mercurial/bdiff.c @ 2543:860e9c83fc59

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.
author Thomas Arendsen Hein <thomas@intevation.de>
date Fri, 30 Jun 2006 21:41:46 +0200
parents 5583d5ef257e
children fa76c5d609c9
comparison
equal deleted inserted replaced
2542:a20877c8a3e2 2543:860e9c83fc59
36 ((x & 0xff000000UL) >> 24); 36 ((x & 0xff000000UL) >> 24);
37 } 37 }
38 #else 38 #else
39 #include <sys/types.h> 39 #include <sys/types.h>
40 #include <arpa/inet.h> 40 #include <arpa/inet.h>
41 #include <stdint.h> 41 #include <inttypes.h>
42 #endif 42 #endif
43 43
44 struct line { 44 struct line {
45 int h, len, n, e; 45 int h, len, n, e;
46 const char *l; 46 const char *l;