mercurial/bdiff.c
changeset 4073 95ffa36d1d2a
parent 3547 8c617d48564a
child 4134 9dc64c8414ca
equal deleted inserted replaced
4072:e916bc0dfdd6 4073:95ffa36d1d2a
    31 		((x & 0x00ff0000UL) >>  8) |
    31 		((x & 0x00ff0000UL) >>  8) |
    32 		((x & 0xff000000UL) >> 24);
    32 		((x & 0xff000000UL) >> 24);
    33 }
    33 }
    34 #else
    34 #else
    35 #include <sys/types.h>
    35 #include <sys/types.h>
       
    36 #ifdef __BEOS__
       
    37 #include <ByteOrder.h>
       
    38 #else
    36 #include <arpa/inet.h>
    39 #include <arpa/inet.h>
       
    40 #endif
    37 #include <inttypes.h>
    41 #include <inttypes.h>
    38 #endif
    42 #endif
    39 
    43 
    40 struct line {
    44 struct line {
    41 	int h, len, n, e;
    45 	int h, len, n, e;