equal
deleted
inserted
replaced
8 |
8 |
9 Based roughly on Python difflib |
9 Based roughly on Python difflib |
10 */ |
10 */ |
11 |
11 |
12 #include <Python.h> |
12 #include <Python.h> |
13 #include <stdint.h> |
|
14 #include <stdlib.h> |
13 #include <stdlib.h> |
15 #include <string.h> |
14 #include <string.h> |
16 |
15 |
17 #ifdef __hpux |
16 #ifdef __hpux |
18 #define inline |
17 #define inline |
37 ((x & 0xff000000UL) >> 24); |
36 ((x & 0xff000000UL) >> 24); |
38 } |
37 } |
39 #else |
38 #else |
40 #include <sys/types.h> |
39 #include <sys/types.h> |
41 #include <arpa/inet.h> |
40 #include <arpa/inet.h> |
|
41 #include <stdint.h> |
42 #endif |
42 #endif |
43 |
43 |
44 struct line { |
44 struct line { |
45 int h, len, n, e; |
45 int h, len, n, e; |
46 const char *l; |
46 const char *l; |