aboutsummaryrefslogtreecommitdiff
path: root/lldb/bindings/python/python-typemaps.h
diff options
context:
space:
mode:
Diffstat (limited to 'lldb/bindings/python/python-typemaps.h')
-rw-r--r--lldb/bindings/python/python-typemaps.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/lldb/bindings/python/python-typemaps.h b/lldb/bindings/python/python-typemaps.h
index b45352ad6295..8a533e822988 100644
--- a/lldb/bindings/python/python-typemaps.h
+++ b/lldb/bindings/python/python-typemaps.h
@@ -1,6 +1,8 @@
#ifndef LLDB_BINDINGS_PYTHON_PYTHON_TYPEMAPS_H
#define LLDB_BINDINGS_PYTHON_PYTHON_TYPEMAPS_H
+#include <Python.h>
+
// Defined here instead of a .swig file because SWIG 2 doesn't support
// explicit deleted functions.
struct Py_buffer_RAII {