buildfarm failure in svn://svnanon.samba.org/samba/branches/SAMBA_4_0/source/lib/talloc In file included from testsuite.c:40: talloc.h:115: error: parse error before "talloc_total_size" talloc.h:115: warning: type defaults to 'int' in declaration of 'talloc_total_size' talloc.h:115: warning: data definition has no type or storage class talloc.h:116: error: parse error before "talloc_total_blocks" talloc.h:116: warning: type defaults to 'int' in declaration of 'talloc_total_blocks' talloc.h:116: warning: data definition has no type or storage class testsuite.c:339: warning: unused parameter 'ptr' patch enclosed
Created attachment 1774 [details] patch for Darwin (Mac OS X)
I'm not sure what the best way would be to fix this. Can we depend on sys/types.h being installed on all systems talloc can build on? If we can't, then we would have to switch to autogenerating talloc.h (which I think would be a very bad idea) or simply getting the user to include sys/types.h before talloc.h.
off_t is removed from talloc now