diff options
author | Rich Salz <rsalz@akamai.com> | 2015-09-16 22:17:55 -0400 |
---|---|---|
committer | Rich Salz <rsalz@openssl.org> | 2015-09-17 12:05:14 -0400 |
commit | 568b80206a0a59e4e33abf569b9bef5f8564b36b (patch) | |
tree | c56f5b35378ac51376dc7804011247c0be82dab5 /apps | |
parent | 0e04674e964b905e67e3d215bcf888932c92765f (diff) |
RT4033: Use OPENSSL_SYS_UNIX not "unix"
Real fix for RT 4033
Reviewed-by: Richard Levitte <levitte@openssl.org>
Diffstat (limited to 'apps')
-rw-r--r-- | apps/apps.h | 1 | ||||
-rw-r--r-- | apps/rehash.c | 4 |
2 files changed, 3 insertions, 2 deletions
diff --git a/apps/apps.h b/apps/apps.h index 328f8fb55a..2d198a104f 100644 --- a/apps/apps.h +++ b/apps/apps.h @@ -115,6 +115,7 @@ # include "e_os.h" # include <assert.h> +# include <openssl/e_os2.h> # include <openssl/bio.h> # include <openssl/x509.h> # include <openssl/lhash.h> diff --git a/apps/rehash.c b/apps/rehash.c index fdaba6af30..c8bfb05b78 100644 --- a/apps/rehash.c +++ b/apps/rehash.c @@ -59,7 +59,7 @@ #include "apps.h" -#if defined(unix) || defined(__APPLE__) +#if defined(OPENSSL_SYS_UNIX) || defined(__APPLE__) # include <unistd.h> # include <stdio.h> # include <limits.h> @@ -488,4 +488,4 @@ int rehash_main(int argc, char **argv) return (1); } -#endif /* defined(unix) || defined(__APPLE__) */ +#endif /* defined(OPENSSL_SYS_UNIX) || defined(__APPLE__) */ |