#include #if !defined(TIFF_VERSION) # error "Required libtiff not found" #elif TIFF_VERSION < 42 # error "unsupported tiff version" #endif int main(int, char **) { tdata_t buffer = _TIFFmalloc(128); _TIFFfree(buffer); return 0; }