--- a/mercurial/bdiff.c Sun Feb 11 18:37:23 2007 +0100
+++ b/mercurial/bdiff.c Tue Jan 02 21:40:20 2007 -0800
@@ -33,7 +33,11 @@
}
#else
#include <sys/types.h>
+#ifdef __BEOS__
+#include <ByteOrder.h>
+#else
#include <arpa/inet.h>
+#endif
#include <inttypes.h>
#endif