summaryrefslogtreecommitdiffstats
path: root/python
diff options
context:
space:
mode:
Diffstat (limited to 'python')
-rw-r--r--python/dbus_bindings.pyx.in8
1 files changed, 8 insertions, 0 deletions
diff --git a/python/dbus_bindings.pyx.in b/python/dbus_bindings.pyx.in
index 8689d8cf..3c819934 100644
--- a/python/dbus_bindings.pyx.in
+++ b/python/dbus_bindings.pyx.in
@@ -7,6 +7,14 @@
#FIXME: find memory leaks that I am sure exist
+cdef extern from "sys/types.h":
+ ctypedef size_t
+ ctypedef __int64_t
+ ctypedef __uint64_t
+
+cdef extern from "sys/cdefs.h":
+ ctypedef __signed
+
#include "dbus_h_wrapper.h"
cdef extern from "stdlib.h":