Show More
@@ -34,7 +34,7 static uint32_t htonl(uint32_t x) | |||||
34 | } |
|
34 | } | |
35 | #else |
|
35 | #else | |
36 | #include <sys/types.h> |
|
36 | #include <sys/types.h> | |
37 | #ifdef __BEOS__ |
|
37 | #if defined __BEOS__ && !defined __HAIKU__ | |
38 | #include <ByteOrder.h> |
|
38 | #include <ByteOrder.h> | |
39 | #else |
|
39 | #else | |
40 | #include <arpa/inet.h> |
|
40 | #include <arpa/inet.h> |
@@ -52,7 +52,7 static uint32_t ntohl(uint32_t x) | |||||
52 | #else |
|
52 | #else | |
53 | /* not windows */ |
|
53 | /* not windows */ | |
54 | # include <sys/types.h> |
|
54 | # include <sys/types.h> | |
55 | # ifdef __BEOS__ |
|
55 | # if defined __BEOS__ && !defined __HAIKU__ | |
56 | # include <ByteOrder.h> |
|
56 | # include <ByteOrder.h> | |
57 | # else |
|
57 | # else | |
58 | # include <arpa/inet.h> |
|
58 | # include <arpa/inet.h> |
General Comments 0
You need to be logged in to leave comments.
Login now