Created attachment 205073 [details] use dirent.h for BSD too. /usr/include/sys/dir.h is scheduled to be removed soonish, and this port still uses it. Switch to dirent.h to fix this.
Note: should be sent upstream if possible
A commit references this bug: Author: rene Date: Sun Jun 30 08:57:01 UTC 2019 New revision: 505409 URL: https://svnweb.freebsd.org/changeset/ports/505409 Log: deskutils/xpostit: include dirent.h instead of sys/dir.h which is scheduled for removal. PR: 238578 Submitted by: rene Approved by: maintainer timeout (joerg, 2 weeks) Changes: head/deskutils/xpostit/files/patch-note.c