diff options
Diffstat (limited to 'crypto/openssl/crypto/uid.c')
-rw-r--r-- | crypto/openssl/crypto/uid.c | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/crypto/openssl/crypto/uid.c b/crypto/openssl/crypto/uid.c index b5b61b7..73205a4 100644 --- a/crypto/openssl/crypto/uid.c +++ b/crypto/openssl/crypto/uid.c @@ -54,17 +54,18 @@ */ #include <openssl/crypto.h> +#include <openssl/opensslconf.h> #if defined(__OpenBSD__) || (defined(__FreeBSD__) && __FreeBSD__ > 2) -#include <unistd.h> +#include OPENSSL_UNISTD int OPENSSL_issetugid(void) { return issetugid(); } -#elif defined(WIN32) +#elif defined(OPENSSL_SYS_WIN32) || defined(OPENSSL_SYS_VXWORKS) int OPENSSL_issetugid(void) { @@ -73,7 +74,7 @@ int OPENSSL_issetugid(void) #else -#include <unistd.h> +#include OPENSSL_UNISTD #include <sys/types.h> int OPENSSL_issetugid(void) |