Since most compilers now have a copy of the C99 inttypes.h header available, [u]intX_t types should be preferred over compiler-specific types such as __u32 etc. Using the standard types allows clang to build fio. I've attached a patch which updates blktrace_api.h, blktrace.c and os/binject.h . The patch also updates Makefile.FreeBSD to use the -pthread flag since it's preferred over -lpthread . -- Bruce Cran
Attachment:
c99.diff
Description: Binary data