mercurial/mpatch.c
changeset 4073 95ffa36d1d2a
parent 3138 cc856c4d91ca
child 4377 4759da3e4dc8
equal deleted inserted replaced
4072:e916bc0dfdd6 4073:95ffa36d1d2a
    40 		((x & 0xff000000UL) >> 24);
    40 		((x & 0xff000000UL) >> 24);
    41 }
    41 }
    42 #else
    42 #else
    43 /* not windows */
    43 /* not windows */
    44 # include <sys/types.h>
    44 # include <sys/types.h>
    45 # include <arpa/inet.h>
    45 # ifdef __BEOS__
       
    46 #  include <ByteOrder.h>
       
    47 # else
       
    48 #  include <arpa/inet.h>
       
    49 # endif
    46 # include <inttypes.h>
    50 # include <inttypes.h>
    47 #endif
    51 #endif
    48 
    52 
    49 static char mpatch_doc[] = "Efficient binary patching.";
    53 static char mpatch_doc[] = "Efficient binary patching.";
    50 static PyObject *mpatch_Error;
    54 static PyObject *mpatch_Error;