diff options
Diffstat (limited to 'src/lib/libcrypto/uid.c')
-rw-r--r-- | src/lib/libcrypto/uid.c | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/src/lib/libcrypto/uid.c b/src/lib/libcrypto/uid.c index b5b61b76d4..d3d249c36f 100644 --- a/src/lib/libcrypto/uid.c +++ b/src/lib/libcrypto/uid.c | |||
@@ -54,17 +54,18 @@ | |||
54 | */ | 54 | */ |
55 | 55 | ||
56 | #include <openssl/crypto.h> | 56 | #include <openssl/crypto.h> |
57 | #include <openssl/opensslconf.h> | ||
57 | 58 | ||
58 | #if defined(__OpenBSD__) || (defined(__FreeBSD__) && __FreeBSD__ > 2) | 59 | #if defined(__OpenBSD__) || (defined(__FreeBSD__) && __FreeBSD__ > 2) |
59 | 60 | ||
60 | #include <unistd.h> | 61 | #include OPENSSL_UNISTD |
61 | 62 | ||
62 | int OPENSSL_issetugid(void) | 63 | int OPENSSL_issetugid(void) |
63 | { | 64 | { |
64 | return issetugid(); | 65 | return issetugid(); |
65 | } | 66 | } |
66 | 67 | ||
67 | #elif defined(WIN32) | 68 | #elif defined(OPENSSL_SYS_WIN32) |
68 | 69 | ||
69 | int OPENSSL_issetugid(void) | 70 | int OPENSSL_issetugid(void) |
70 | { | 71 | { |
@@ -73,7 +74,7 @@ int OPENSSL_issetugid(void) | |||
73 | 74 | ||
74 | #else | 75 | #else |
75 | 76 | ||
76 | #include <unistd.h> | 77 | #include OPENSSL_UNISTD |
77 | #include <sys/types.h> | 78 | #include <sys/types.h> |
78 | 79 | ||
79 | int OPENSSL_issetugid(void) | 80 | int OPENSSL_issetugid(void) |