This port includes sys/dir.h, which is scheduled for removal. Let it include dirent.h instead as suggested. While here update USES to modern standards.
Created attachment 205131 [details] include dirent.h instead of sys/dir.h
Committed, thanks.
*** Bug 238616 has been marked as a duplicate of this bug. ***