From 0b78d340ff3d61e157f5a85878419bc81e007f03 Mon Sep 17 00:00:00 2001
From: psykose <alice@ayaya.dev>
Date: Wed, 23 Nov 2022 10:05:00 +0000
Subject: [PATCH] Fix build against Python 3.11

Upstream-Status: Unknown
Origin: Alpine Linux
[ismael@sourcemage.org: Patch normalised]
Signed-off-by: Ismael Luceno <ismael@sourcemage.org>
---
 src/cpython.h |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/cpython.h b/src/cpython.h
index 11e64fa..ef75ea7 100644
--- a/src/cpython.h
+++ b/src/cpython.h
@@ -26,7 +26,7 @@
 
 /* Some python versions don't include this by default. */
 
-#include <longintrepr.h>
+#include <Python.h>
 
 /* These two macros are basically Py_BEGIN_ALLOW_THREADS and
  * Py_BEGIN_ALLOW_THREADS
-- 
Fixed up by sm-checkpatch 0.1

