##// END OF EJS Templates
[PATCH] use <arpa/inet.h> instead of <netinet/in.h> for ntohl/htonl...
mpm@selenic.com -
r597:e530637e default
parent child Browse files
Show More
@@ -28,7 +28,7 b' static uint32_t htonl(uint32_t x)'
28 }
28 }
29 #else
29 #else
30 #include <sys/types.h>
30 #include <sys/types.h>
31 #include <netinet/in.h>
31 #include <arpa/inet.h>
32 #endif
32 #endif
33
33
34 struct line {
34 struct line {
@@ -39,7 +39,7 b' static uint32_t ntohl(uint32_t x)'
39 }
39 }
40 #else
40 #else
41 #include <sys/types.h>
41 #include <sys/types.h>
42 #include <netinet/in.h>
42 #include <arpa/inet.h>
43 #endif
43 #endif
44
44
45 static char mpatch_doc[] = "Efficient binary patching.";
45 static char mpatch_doc[] = "Efficient binary patching.";
General Comments 0
You need to be logged in to leave comments. Login now