From 29960237dcdd9d90402d6c76c4296aec3d01d3fc Mon Sep 17 00:00:00 2001 From: Shane Harvey Date: Wed, 27 May 2020 14:28:49 -0700 Subject: [PATCH] PYTHON-2260 Include Python.h before any standard headers --- bson/buffer.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/bson/buffer.c b/bson/buffer.c index 66672749f..0b1941cb5 100644 --- a/bson/buffer.c +++ b/bson/buffer.c @@ -14,13 +14,13 @@ * limitations under the License. */ -#include -#include - /* Include Python.h so we can set Python's error indicator. */ #define PY_SSIZE_T_CLEAN #include "Python.h" +#include +#include + #include "buffer.h" #define INITIAL_BUFFER_SIZE 256