##// END OF EJS Templates
cext: reorder #include...
Gregory Szorc -
r34439:b90e8da1 default
parent child Browse files
Show More
@@ -11,9 +11,9 b''
11 11
12 12 #define PY_SSIZE_T_CLEAN
13 13 #include <Python.h>
14 #include <limits.h>
14 15 #include <stdlib.h>
15 16 #include <string.h>
16 #include <limits.h>
17 17
18 18 #include "bdiff.h"
19 19 #include "bitmanipulation.h"
@@ -9,6 +9,7 b''
9 9
10 10 #define PY_SSIZE_T_CLEAN
11 11 #include <Python.h>
12
12 13 #include "util.h"
13 14
14 15 #ifdef IS_PY3K
@@ -9,8 +9,8 b''
9 9 #include <Python.h>
10 10
11 11 #include <assert.h>
12 #include <stdlib.h>
12 13 #include <string.h>
13 #include <stdlib.h>
14 14
15 15 #include "charencode.h"
16 16 #include "util.h"
@@ -25,10 +25,10 b''
25 25 #include <stdlib.h>
26 26 #include <string.h>
27 27
28 #include "util.h"
29 28 #include "bitmanipulation.h"
30 29 #include "compat.h"
31 30 #include "mpatch.h"
31 #include "util.h"
32 32
33 33 static char mpatch_doc[] = "Efficient binary patching.";
34 34 static PyObject *mpatch_Error;
@@ -9,15 +9,15 b''
9 9
10 10 #define _ATFILE_SOURCE
11 11 #include <Python.h>
12 #include <errno.h>
12 13 #include <fcntl.h>
13 14 #include <stdio.h>
14 15 #include <stdlib.h>
15 16 #include <string.h>
16 #include <errno.h>
17 17
18 18 #ifdef _WIN32
19 #include <io.h>
19 20 #include <windows.h>
20 #include <io.h>
21 21 #else
22 22 #include <dirent.h>
23 23 #include <sys/socket.h>
@@ -12,9 +12,9 b''
12 12 #include <stddef.h>
13 13 #include <string.h>
14 14
15 #include "bitmanipulation.h"
15 16 #include "charencode.h"
16 17 #include "util.h"
17 #include "bitmanipulation.h"
18 18
19 19 #ifdef IS_PY3K
20 20 /* The mapping of Python types is meant to be temporary to get Python
@@ -13,9 +13,9 b''
13 13 #include <stddef.h>
14 14 #include <string.h>
15 15
16 #include "bitmanipulation.h"
16 17 #include "charencode.h"
17 18 #include "util.h"
18 #include "bitmanipulation.h"
19 19
20 20 #ifdef IS_PY3K
21 21 /* The mapping of Python types is meant to be temporary to get Python
General Comments 0
You need to be logged in to leave comments. Login now