Message ID | 20190725174138.3724131-3-chutzpah@gentoo.org (mailing list archive) |
---|---|
State | Accepted |
Headers | show |
Series | trace-cmd: More Python 3 cleanups | expand |
diff --git a/python/ctracecmd.i b/python/ctracecmd.i index 2601d39..01cd0d5 100644 --- a/python/ctracecmd.i +++ b/python/ctracecmd.i @@ -16,6 +16,7 @@ %{ #include "trace-cmd.h" #include "event-utils.h" +#include <Python.h> %} diff --git a/python/ctracecmdgui.i b/python/ctracecmdgui.i index 1dcdab0..032f3ff 100644 --- a/python/ctracecmdgui.i +++ b/python/ctracecmdgui.i @@ -7,6 +7,7 @@ #include <pygobject.h> #include <pyglib.h> #include <Python.h> +#include <memoryobject.h> extern GtkTreeModel *trace_view_store_as_gtk_tree_model(struct trace_view_store *store);