Skip to content

Commit 2996023

Browse files
committed
PYTHON-2260 Include Python.h before any standard headers
1 parent 0eace78 commit 2996023

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

bson/buffer.c

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,13 +14,13 @@
1414
* limitations under the License.
1515
*/
1616

17-
#include <stdlib.h>
18-
#include <string.h>
19-
2017
/* Include Python.h so we can set Python's error indicator. */
2118
#define PY_SSIZE_T_CLEAN
2219
#include "Python.h"
2320

21+
#include <stdlib.h>
22+
#include <string.h>
23+
2424
#include "buffer.h"
2525

2626
#define INITIAL_BUFFER_SIZE 256

0 commit comments

Comments
 (0)