Control: tags -1 + patch

I can get the build succeed with this patch, but I am not entirely
sure if that is the correct solution because I am not confident in
my C skills. So if someone can give it a look and see if the patch
is sane, it'd be nice.

-- 
Best,
Ananthu
From: Ananthu C V <weepingcl...@debian.org>
Date: Sun, 4 May 2025 12:49:15 +0530
Subject: [PATCH] Fix implicit _PyImport_FixupExtensionObject declaration

---
 src/_apachemodule.c | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/src/_apachemodule.c b/src/_apachemodule.c
index 7fd2b34..5049785 100644
--- a/src/_apachemodule.c
+++ b/src/_apachemodule.c
@@ -22,8 +22,13 @@
  *
  */
 
+#include <Python.h>
+
 #include "mod_python.h"
 
+PyObject* _PyImport_FixupExtensionObject(PyObject *mod, PyObject *name,
+					 PyObject *filename, PyObject *modules);
+
 /* A reference to the _apache.SERVER_RETURN */
 
 PyObject *Mp_ServerReturn;
-- 
2.49.0

Attachment: signature.asc
Description: PGP signature

Reply via email to