diff options
author | Richard Levitte <levitte@openssl.org> | 2022-02-04 15:13:01 +0100 |
---|---|---|
committer | Tomas Mraz <tomas@openssl.org> | 2022-11-11 10:03:45 +0100 |
commit | 97477bb6c485e8b7e755ead7bb2e709c68f45f5f (patch) | |
tree | 644a9e74d16abd58bdd98a745aa467f7a242d92f /providers/implementations/rands | |
parent | 70df6caa0bf198258c657ee472dea47c4727b039 (diff) | |
download | openssl-97477bb6c485e8b7e755ead7bb2e709c68f45f5f.zip openssl-97477bb6c485e8b7e755ead7bb2e709c68f45f5f.tar.gz openssl-97477bb6c485e8b7e755ead7bb2e709c68f45f5f.tar.bz2 |
Move e_os.h to include/internal
Including e_os.h with a path from a header file doesn't work well on
certain exotic platform. It simply fails to build.
Since we don't seem to be able to stop ourselves, the better move is
to move e_os.h to an include directory that's part of the inclusion
path given to the compiler.
Reviewed-by: Paul Dale <pauli@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/17641)
(cherry picked from commit d5f9166bacfb3757dfd6117310ad54ab749b11f9)
Reviewed-by: Hugo Landau <hlandau@openssl.org>
Diffstat (limited to 'providers/implementations/rands')
-rw-r--r-- | providers/implementations/rands/seeding/rand_unix.c | 2 | ||||
-rw-r--r-- | providers/implementations/rands/seeding/rand_vms.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/providers/implementations/rands/seeding/rand_unix.c b/providers/implementations/rands/seeding/rand_unix.c index 72abc33..3df7696 100644 --- a/providers/implementations/rands/seeding/rand_unix.c +++ b/providers/implementations/rands/seeding/rand_unix.c @@ -10,7 +10,7 @@ #ifndef _GNU_SOURCE # define _GNU_SOURCE #endif -#include "../e_os.h" +#include "internal/e_os.h" #include <stdio.h> #include "internal/cryptlib.h" #include <openssl/rand.h> diff --git a/providers/implementations/rands/seeding/rand_vms.c b/providers/implementations/rands/seeding/rand_vms.c index 47ba5ca..da65574 100644 --- a/providers/implementations/rands/seeding/rand_vms.c +++ b/providers/implementations/rands/seeding/rand_vms.c @@ -7,7 +7,7 @@ * https://www.openssl.org/source/license.html */ -#include "e_os.h" +#include "internal/e_os.h" #define __NEW_STARLET 1 /* New starlet definitions since VMS 7.0 */ #include <unistd.h> |