Add missing include file.
authorPauli <paul.dale@oracle.com>
Mon, 17 Sep 2018 00:40:32 +0000 (10:40 +1000)
committerPauli <paul.dale@oracle.com>
Mon, 17 Sep 2018 02:54:20 +0000 (12:54 +1000)
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)

crypto/o_fopen.c

index f08f99b414f5ce475ec6716690e8f78741ff3e80..7d51ad725426c505495e2b57b009c50897c996af 100644 (file)
 #  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