##// END OF EJS Templates
BeOS compatibility support
Andrew Bachmann -
r4073:95ffa36d default
parent child Browse files
Show More
@@ -33,7 +33,11 b' static uint32_t htonl(uint32_t x)'
33 }
33 }
34 #else
34 #else
35 #include <sys/types.h>
35 #include <sys/types.h>
36 #ifdef __BEOS__
37 #include <ByteOrder.h>
38 #else
36 #include <arpa/inet.h>
39 #include <arpa/inet.h>
40 #endif
37 #include <inttypes.h>
41 #include <inttypes.h>
38 #endif
42 #endif
39
43
@@ -42,7 +42,11 b' static uint32_t ntohl(uint32_t x)'
42 #else
42 #else
43 /* not windows */
43 /* not windows */
44 # include <sys/types.h>
44 # include <sys/types.h>
45 # include <arpa/inet.h>
45 # ifdef __BEOS__
46 # include <ByteOrder.h>
47 # else
48 # include <arpa/inet.h>
49 # endif
46 # include <inttypes.h>
50 # include <inttypes.h>
47 #endif
51 #endif
48
52
General Comments 0
You need to be logged in to leave comments. Login now