aboutsummaryrefslogtreecommitdiffstats
path: root/apps
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 /apps
parent9590da2cd67ae23588568c57556d6140fb86f892 (diff)
downloadopenssl-07016a8a3174db5caf07182930533cf88ad9b0ad.tar.gz
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 'apps')
-rw-r--r--apps/apps.h2
-rw-r--r--apps/s_client.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/apps/apps.h b/apps/apps.h
index bbc9a5ad8f..c208c1999d 100644
--- a/apps/apps.h
+++ b/apps/apps.h
@@ -10,8 +10,8 @@
#ifndef HEADER_APPS_H
# define HEADER_APPS_H
-# include "internal/nelem.h"
# include "e_os.h"
+# include "internal/nelem.h"
# if defined(__unix) || defined(__unix__)
# include <sys/time.h> /* struct timeval for DTLS */
# endif
diff --git a/apps/s_client.c b/apps/s_client.c
index 5f7b31c9dc..5a4a2f65e7 100644
--- a/apps/s_client.c
+++ b/apps/s_client.c
@@ -8,12 +8,12 @@
* https://www.openssl.org/source/license.html
*/
+#include "e_os.h"
#include <ctype.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <errno.h>
-#include "e_os.h"
#include <openssl/e_os2.h>
#ifndef OPENSSL_NO_SOCK