diff options
author | 2002-05-15 02:29:01 +0000 | |
---|---|---|
committer | 2002-05-15 02:29:01 +0000 | |
commit | da347917d3d3e5d3ece379d298f4e183b4828151 (patch) | |
tree | 4667bec6fb5a5191ed165d4bf727adbb97475bcb /lib/libcrypto/uid.c | |
parent | OpenSSL 0.9.7 (diff) | |
download | wireguard-openbsd-da347917d3d3e5d3ece379d298f4e183b4828151.tar.xz wireguard-openbsd-da347917d3d3e5d3ece379d298f4e183b4828151.zip |
OpenSSL 0.9.7 stable 2002 05 08 merge
Diffstat (limited to 'lib/libcrypto/uid.c')
-rw-r--r-- | lib/libcrypto/uid.c | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/lib/libcrypto/uid.c b/lib/libcrypto/uid.c index b5b61b76d4e..d3d249c36fd 100644 --- a/lib/libcrypto/uid.c +++ b/lib/libcrypto/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) 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) |