##// END OF EJS Templates
allow Mercurial to compile on Haiku
Scott McCreary -
r7036:bfad9865 default
parent child Browse files
Show More
@@ -34,7 +34,7 static uint32_t htonl(uint32_t x)
34 34 }
35 35 #else
36 36 #include <sys/types.h>
37 #ifdef __BEOS__
37 #if defined __BEOS__ && !defined __HAIKU__
38 38 #include <ByteOrder.h>
39 39 #else
40 40 #include <arpa/inet.h>
@@ -52,7 +52,7 static uint32_t ntohl(uint32_t x)
52 52 #else
53 53 /* not windows */
54 54 # include <sys/types.h>
55 # ifdef __BEOS__
55 # if defined __BEOS__ && !defined __HAIKU__
56 56 # include <ByteOrder.h>
57 57 # else
58 58 # include <arpa/inet.h>
General Comments 0
You need to be logged in to leave comments. Login now