Drop redundant sys/dirent.h include

sys/dirent.h is included by dirent.h in FreeBSD, and does not exist in Debian GNU/kFreeBSD
This commit is contained in:
Graham Inggs 2020-12-11 20:50:29 +02:00 committed by BenBE
parent 2700d99069
commit 28bc087d8a

View File

@ -14,7 +14,6 @@ in the source distribution for its full text.
#include <stdlib.h>
#include <string.h>
#include <sys/_iovec.h>
#include <sys/dirent.h>
#include <sys/errno.h>
#include <sys/param.h> // needs to be included before <sys/jail.h> for MAXPATHLEN
#include <sys/jail.h>