From ddce490e794c0d1b42dbe6ac1ef21a2b14b4e89d Mon Sep 17 00:00:00 2001 From: Colin Walters Date: Thu, 16 Jun 2005 05:51:46 +0000 Subject: 2005-06-16 Colin Walters * python/dbus_bindings.pyx.in: Import size_t, __int64_t, __uint64_t, and __signed. * dbus/dbus-sysdeps.c (write_credentials_byte): Define cmsg struct, output it. (_dbus_read_credentials_unix_socket): Use cmsg struct. Patch from Joe Markus Clarke for FreeBSD support. --- python/dbus_bindings.pyx.in | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'python') 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": -- cgit