Assume <unistd.h> exists

It is required by POSIX.1-2001.

Cc: Christian Göttsche <cgzones@googlemail.com>
Signed-off-by: Alejandro Colomar <alx@kernel.org>
This commit is contained in:
Alejandro Colomar
2022-12-02 21:39:15 +01:00
committed by Serge Hallyn
parent 28e565aa83
commit 578f286215
2 changed files with 2 additions and 4 deletions

View File

@@ -46,9 +46,7 @@ extern char * textdomain (const char * domainname);
#include <sys/types.h>
#include <sys/wait.h>
#if HAVE_UNISTD_H
# include <unistd.h>
#endif
#include <unistd.h>
/*
* crypt(3), crypt_gensalt(3), and their