Skip to content

Commit f525885

Browse files
manually include 'pythread.h' in case this is not included by 'Python.h'
1 parent c239732 commit f525885

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

apriltag_pywrap.c

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,9 @@
22

33
#include <stdbool.h>
44
#include <Python.h>
5+
#ifndef Py_PYTHREAD_H
6+
#include <pythread.h>
7+
#endif
58
#include <structmember.h>
69
#include <numpy/arrayobject.h>
710
#include <signal.h>

0 commit comments

Comments
 (0)