diff mercurial/bdiff.c @ 4073:95ffa36d1d2a

BeOS compatibility support
author Andrew Bachmann <andrewbachmann@gmail.com>
date Tue, 02 Jan 2007 21:40:20 -0800
parents 8c617d48564a
children 9dc64c8414ca
line wrap: on
line diff
--- a/mercurial/bdiff.c
+++ b/mercurial/bdiff.c
@@ -33,7 +33,11 @@ static uint32_t htonl(uint32_t x)
 }
 #else
 #include <sys/types.h>
+#ifdef __BEOS__
+#include <ByteOrder.h>
+#else
 #include <arpa/inet.h>
+#endif
 #include <inttypes.h>
 #endif