diff options
| author | Colin Walters <walters@verbum.org> | 2005-06-16 05:51:46 +0000 | 
|---|---|---|
| committer | Colin Walters <walters@verbum.org> | 2005-06-16 05:51:46 +0000 | 
| commit | ddce490e794c0d1b42dbe6ac1ef21a2b14b4e89d (patch) | |
| tree | bfa40a7a1b4db8c6119d75456c043fc21b8052b2 /python | |
| parent | 70bd20a50e5d8d5dd5ddabf945812d881090d3f5 (diff) | |
2005-06-16  Colin Walters  <walters@verbum.org>
	* python/dbus_bindings.pyx.in: Import size_t,
	__int64_t, __uint64_t, and __signed.
	* dbus/dbus-sysdeps.c <HAVE_CMSGCRED> (write_credentials_byte):
	Define cmsg struct, output it.
	(_dbus_read_credentials_unix_socket):
	Use cmsg struct.
	Patch from Joe Markus Clarke for FreeBSD support.
Diffstat (limited to 'python')
| -rw-r--r-- | python/dbus_bindings.pyx.in | 8 | 
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":  | 
