diff options
author | Richard Levitte <levitte@openssl.org> | 2001-04-26 10:26:18 +0200 |
---|---|---|
committer | Richard Levitte <levitte@openssl.org> | 2001-04-26 10:26:18 +0200 |
commit | 91dc71f98dfa771463d5f0141a4a9e5143e5a6fd (patch) | |
tree | adccbe9ff300f1c461ffdd1490b67dea9b46742f /crypto/uid.c | |
parent | This change to the "dl", "dlfcn", and "win32" DSO_METHODs adds the filename (diff) | |
download | openssl-91dc71f98dfa771463d5f0141a4a9e5143e5a6fd.tar.xz openssl-91dc71f98dfa771463d5f0141a4a9e5143e5a6fd.zip |
User OPENSSL_UNISTD instead of <unistd.h>.
Spotted by Mark Crispin <MRC@Panda.COM>
Diffstat (limited to 'crypto/uid.c')
-rw-r--r-- | crypto/uid.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/crypto/uid.c b/crypto/uid.c index 734bddeb60..d3d249c36f 100644 --- a/crypto/uid.c +++ b/crypto/uid.c @@ -54,10 +54,11 @@ */ #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) { @@ -73,7 +74,7 @@ int OPENSSL_issetugid(void) #else -#include <unistd.h> +#include OPENSSL_UNISTD #include <sys/types.h> int OPENSSL_issetugid(void) |