summaryrefslogtreecommitdiffstats
path: root/crypto/bio
diff options
context:
space:
mode:
authorRichard Levitte <levitte@openssl.org>2022-02-04 15:13:01 +0100
committerTomas Mraz <tomas@openssl.org>2022-11-11 10:03:45 +0100
commit97477bb6c485e8b7e755ead7bb2e709c68f45f5f (patch)
tree644a9e74d16abd58bdd98a745aa467f7a242d92f /crypto/bio
parent70df6caa0bf198258c657ee472dea47c4727b039 (diff)
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 'crypto/bio')
-rw-r--r--crypto/bio/bio_local.h2
-rw-r--r--crypto/bio/bss_bio.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/crypto/bio/bio_local.h b/crypto/bio/bio_local.h
index 749e8f810c..6ba0196ce6 100644
--- a/crypto/bio/bio_local.h
+++ b/crypto/bio/bio_local.h
@@ -7,7 +7,7 @@
* https://www.openssl.org/source/license.html
*/
-#include "e_os.h"
+#include "internal/e_os.h"
#include "internal/sockets.h"
/* BEGIN BIO_ADDRINFO/BIO_ADDR stuff. */
diff --git a/crypto/bio/bss_bio.c b/crypto/bio/bss_bio.c
index 7fa8778cae..a670290b6f 100644
--- a/crypto/bio/bss_bio.c
+++ b/crypto/bio/bss_bio.c
@@ -15,7 +15,7 @@
* See ssl/ssltest.c for some hints on how this can be used.
*/
-#include "e_os.h"
+#include "internal/e_os.h"
#include <assert.h>
#include <limits.h>
#include <stdlib.h>