mercurial/mpatch.c
changeset 4073 95ffa36d1d2a
parent 3138 cc856c4d91ca
child 4376 4759da3e4dc8
--- a/mercurial/mpatch.c
+++ b/mercurial/mpatch.c
@@ -42,7 +42,11 @@ static uint32_t ntohl(uint32_t x)
 #else
 /* not windows */
 # include <sys/types.h>
-# include <arpa/inet.h>
+# ifdef __BEOS__
+#  include <ByteOrder.h>
+# else
+#  include <arpa/inet.h>
+# endif
 # include <inttypes.h>
 #endif