Skip to content

Commit 932a698

Browse files
jbergstroemmdirolf
authored andcommitted
Always include Python.h first. Fixes a warning i've been bugged by for _ages_
1 parent 7b4a936 commit 932a698

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

pymongo/_cbsonmodule.c

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,10 +23,9 @@
2323
* like _cspeedupsmodule - we do more than just BSON stuff in this C module.
2424
*/
2525

26-
26+
#include <Python.h>
2727
#include <stdio.h>
2828

29-
#include <Python.h>
3029
#include <datetime.h>
3130

3231
#include "time64.h"

0 commit comments

Comments
 (0)