summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--giscanner/giscannermodule.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/giscanner/giscannermodule.c b/giscanner/giscannermodule.c
index 46bfd105..2e7e55bc 100644
--- a/giscanner/giscannermodule.c
+++ b/giscanner/giscannermodule.c
@@ -22,6 +22,7 @@
#ifdef HAVE_CONFIG_H
# include "config.h"
#endif
+#define PY_SSIZE_T_CLEAN
#include <Python.h>
#include "sourcescanner.h"