comparison mercurial/mpatch.c @ 7036:bfad9865b1dc

allow Mercurial to compile on Haiku
author Scott McCreary <scottmc2@gmail.com>
date Wed, 17 Sep 2008 10:22:35 +0200
parents fe9b0bb3eb1c
children 08a0f04b56bd
comparison
equal deleted inserted replaced
7035:9d023ef7b467 7036:bfad9865b1dc
50 ((x & 0xff000000UL) >> 24); 50 ((x & 0xff000000UL) >> 24);
51 } 51 }
52 #else 52 #else
53 /* not windows */ 53 /* not windows */
54 # include <sys/types.h> 54 # include <sys/types.h>
55 # ifdef __BEOS__ 55 # if defined __BEOS__ && !defined __HAIKU__
56 # include <ByteOrder.h> 56 # include <ByteOrder.h>
57 # else 57 # else
58 # include <arpa/inet.h> 58 # include <arpa/inet.h>
59 # endif 59 # endif
60 # include <inttypes.h> 60 # include <inttypes.h>