User OPENSSL_UNISTD instead of <unistd.h>.

Spotted by Mark Crispin <MRC@Panda.COM>
This commit is contained in:
Richard Levitte 2001-04-26 08:26:18 +00:00
parent b7b6c047ca
commit 91dc71f98d

View File

@ -54,10 +54,11 @@
*/ */
#include <openssl/crypto.h> #include <openssl/crypto.h>
#include <openssl/opensslconf.h>
#if defined(__OpenBSD__) || (defined(__FreeBSD__) && __FreeBSD__ > 2) #if defined(__OpenBSD__) || (defined(__FreeBSD__) && __FreeBSD__ > 2)
#include <unistd.h> #include OPENSSL_UNISTD
int OPENSSL_issetugid(void) int OPENSSL_issetugid(void)
{ {
@ -73,7 +74,7 @@ int OPENSSL_issetugid(void)
#else #else
#include <unistd.h> #include OPENSSL_UNISTD
#include <sys/types.h> #include <sys/types.h>
int OPENSSL_issetugid(void) int OPENSSL_issetugid(void)