mirror of
https://review.haiku-os.org/haiku
synced 2025-02-01 03:06:08 +01:00
24a34a5ee5
This warning happens on Haiku because we don't have DT_DIR and the dt_type field in dirent. The FreeBSD code has a partial ifdef for that, but it is missing in some places, leading to an unused but set variable. Completely disable the variable when DT_DIR is missing. Change-Id: I274799b0d25e2df27758fcf4452567879aed8e10 Reviewed-on: https://review.haiku-os.org/c/haiku/+/6764 Reviewed-by: waddlesplash <waddlesplash@gmail.com>