mercurial/mpatch.c
changeset 7036 bfad9865b1dc
parent 5460 fe9b0bb3eb1c
child 10282 08a0f04b56bd
--- a/mercurial/mpatch.c	Sat Sep 13 17:46:09 2008 +0200
+++ b/mercurial/mpatch.c	Wed Sep 17 10:22:35 2008 +0200
@@ -52,7 +52,7 @@
 #else
 /* not windows */
 # include <sys/types.h>
-# ifdef __BEOS__
+# if defined __BEOS__ && !defined __HAIKU__
 #  include <ByteOrder.h>
 # else
 #  include <arpa/inet.h>