summaryrefslogtreecommitdiffstats
path: root/crypto/store
diff options
context:
space:
mode:
authorPauli <paul.dale@oracle.com>2017-08-24 09:05:07 +1000
committerPauli <paul.dale@oracle.com>2017-08-30 07:20:44 +1000
commit07016a8a3174db5caf07182930533cf88ad9b0ad (patch)
tree42dcb67fa6c72635b76590f8ab698bb4c692d838 /crypto/store
parent9590da2cd67ae23588568c57556d6140fb86f892 (diff)
Move e_os.h to be the very first include.
cryptilib.h is the second. Reviewed-by: Andy Polyakov <appro@openssl.org> Reviewed-by: Richard Levitte <levitte@openssl.org> (Merged from https://github.com/openssl/openssl/pull/4188)
Diffstat (limited to 'crypto/store')
-rw-r--r--crypto/store/loader_file.c3
-rw-r--r--crypto/store/store_lib.c4
2 files changed, 2 insertions, 5 deletions
diff --git a/crypto/store/loader_file.c b/crypto/store/loader_file.c
index f6cb928ae3..1c794ef826 100644
--- a/crypto/store/loader_file.c
+++ b/crypto/store/loader_file.c
@@ -7,6 +7,7 @@
* https://www.openssl.org/source/license.html
*/
+#include "e_os.h"
#include <string.h>
#include <sys/stat.h>
#include <assert.h>
@@ -29,8 +30,6 @@
#include "internal/store_int.h"
#include "store_locl.h"
-#include "e_os.h"
-
#ifdef _WIN32
# define stat _stat
#endif
diff --git a/crypto/store/store_lib.c b/crypto/store/store_lib.c
index 6f789eb79c..2cc247d12e 100644
--- a/crypto/store/store_lib.c
+++ b/crypto/store/store_lib.c
@@ -7,11 +7,9 @@
* https://www.openssl.org/source/license.html
*/
+#include "e_os.h"
#include <stdlib.h>
#include <string.h>
-
-#include "e_os.h"
-
#include <openssl/crypto.h>
#include <openssl/err.h>
#include <openssl/store.h>