8000 CI: Include Python.h first in _tkagg.cpp · matplotlib/matplotlib@454225a · GitHub
[go: up one dir, main page]

Skip to content

Commit 454225a

Browse files
authored
CI: Include Python.h first in _tkagg.cpp
Needs to be included before system headers to set visibility macros for pybind11
1 parent 052e4e7 commit 454225a

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/_tkagg.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@
99
// rewritten, we have removed the PIL licensing information. If you want PIL,
1010
// you can get it at https://python-pillow.org/
1111

12+
#include <Python.h>
1213
#include <memory>
1314
#include <new>
1415
#include <stdexcept>

0 commit comments

Comments
 (0)
0