projects
/
oweals
/
openssl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b7b6c04
)
User OPENSSL_UNISTD instead of <unistd.h>.
author
Richard Levitte
<levitte@openssl.org>
Thu, 26 Apr 2001 08:26:18 +0000
(08:26 +0000)
committer
Richard Levitte
<levitte@openssl.org>
Thu, 26 Apr 2001 08:26:18 +0000
(08:26 +0000)
Spotted by Mark Crispin <MRC@Panda.COM>
crypto/uid.c
patch
|
blob
|
history
diff --git
a/crypto/uid.c
b/crypto/uid.c
index 734bddeb602bb097da8d50bcedff16a592168222..d3d249c36fd5cd406fd28935712e4cb93ac1012f 100644
(file)
--- 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)