Skip to content

util/disk_cache: Handle OS'es without d_type in struct dirent

Alan Coopersmith requested to merge alanc/mesa:solaris into main

This brings upstream a cleaned up version of a patch we've been carrying for a couple of years in the Solaris builds, since Solaris can't add d_type to struct dirent without breaking binary compatibility.

Fixes: f58e6fee ("util/disk_cache: delete more cache items in one go when full")
Signed-off-by: Alan Coopersmith alan.coopersmith@oracle.com

Edited by Alan Coopersmith

Merge request reports