diff options
author | Richard Levitte <levitte@openssl.org> | 2022-02-04 15:13:01 +0100 |
---|---|---|
committer | Richard Levitte <levitte@openssl.org> | 2022-02-05 05:31:09 +0100 |
commit | d5f9166bacfb3757dfd6117310ad54ab749b11f9 (patch) | |
tree | 2ee6532788cf791a75e7e658ab8b9709c1d8ee62 /engines | |
parent | 77f3936928068bee9d7e0c6939709ac179cb1059 (diff) | |
download | openssl-new-d5f9166bacfb3757dfd6117310ad54ab749b11f9.tar.gz |
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)
Diffstat (limited to 'engines')
-rw-r--r-- | engines/e_devcrypto.c | 2 | ||||
-rw-r--r-- | engines/e_loader_attic.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/engines/e_devcrypto.c b/engines/e_devcrypto.c index adf53d8d91..abc2930fb0 100644 --- a/engines/e_devcrypto.c +++ b/engines/e_devcrypto.c @@ -10,7 +10,7 @@ /* We need to use some deprecated APIs */ #define OPENSSL_SUPPRESS_DEPRECATED -#include "../e_os.h" +#include "internal/e_os.h" #include <string.h> #include <sys/types.h> #include <sys/stat.h> diff --git a/engines/e_loader_attic.c b/engines/e_loader_attic.c index e2a5474c1c..be36c6e397 100644 --- a/engines/e_loader_attic.c +++ b/engines/e_loader_attic.c @@ -14,7 +14,7 @@ /* We need to use some engine deprecated APIs */ #define OPENSSL_SUPPRESS_DEPRECATED -#include "../e_os.h" /* for stat and strncasecmp */ +#include "internal/e_os.h" /* for stat and strncasecmp */ #include <string.h> #include <sys/stat.h> #include <ctype.h> |