diff -r b60a5fe98b73 -r a043c6d372db setup_osutil_cffi.py --- a/setup_osutil_cffi.py Wed Aug 31 12:46:53 2016 -0700 +++ b/setup_osutil_cffi.py Thu Sep 08 10:37:58 2016 +0200 @@ -45,6 +45,8 @@ ...; } attrreference_t; +typedef int ... off_t; + typedef struct val_attrs { uint32_t length; attribute_set_t returned; @@ -52,14 +54,13 @@ uint32_t obj_type; struct timespec mtime; uint32_t accessmask; - int datalength; + off_t datalength; ...; } val_attrs_t; /* the exact layout of the above struct will be figured out during build time */ typedef int ... time_t; -typedef int ... off_t; typedef struct timespec { time_t tv_sec;