Only include unistd.h once.

This commit is contained in:
Darren Tucker 2023-08-10 11:30:24 +10:00
parent 3961ed02dc
commit 58ca4f0aa8
No known key found for this signature in database

View File

@ -28,7 +28,6 @@
#include <stdlib.h>
#include <stddef.h>
#include <string.h>
#include <unistd.h>
#ifdef HAVE_DIRENT_H
# include <dirent.h>
# define NAMLEN(dirent) strlen((dirent)->d_name)