summaryrefslogtreecommitdiffstats
path: root/crypto/o_fopen.c
diff options
context:
space:
mode:
authorPauli <paul.dale@oracle.com>2018-09-17 10:40:32 +1000
committerPauli <paul.dale@oracle.com>2018-09-17 12:54:20 +1000
commitd2d3b5ded7b1ab82e17f964d52904a5041934805 (patch)
tree03a7a8683301e53e0d76bc5cebd6a7016a762a4d /crypto/o_fopen.c
parent24907560dbe9df480863a664adcd2c4b1cdcd5e9 (diff)
Add missing include file.
Specifically, include e_os.h to pick up alloca definition for WIN32. Reviewed-by: Tim Hudson <tjh@openssl.org> (Merged from https://github.com/openssl/openssl/pull/7234) (cherry picked from commit a825856ab719b0fcce229faad2b437fc88985251)
Diffstat (limited to 'crypto/o_fopen.c')
-rw-r--r--crypto/o_fopen.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/crypto/o_fopen.c b/crypto/o_fopen.c
index f08f99b414..7d51ad7254 100644
--- a/crypto/o_fopen.c
+++ b/crypto/o_fopen.c
@@ -25,14 +25,12 @@
# endif
# endif
+#include "e_os.h"
#include "internal/cryptlib.h"
#if !defined(OPENSSL_NO_STDIO)
# include <stdio.h>
-# ifdef _WIN32
-# include <windows.h>
-# endif
# ifdef __DJGPP__
# include <unistd.h>
# endif