summaryrefslogtreecommitdiffstats
path: root/apps/s_server.c
diff options
context:
space:
mode:
authorFdaSilvaYY <fdasilvayy@gmail.com>2021-02-21 00:10:52 +0100
committerTomas Mraz <tomas@openssl.org>2024-09-05 17:02:51 +0200
commit23b795d34f81a83b3273b50a76eaf2e4879cdbe2 (patch)
tree5b7165c1492319ccb8715e9c2ef5fcff17b781d8 /apps/s_server.c
parentcrypto: fix missing <winsock.h> indirection inclusion. (diff)
downloadopenssl-23b795d34f81a83b3273b50a76eaf2e4879cdbe2.tar.xz
openssl-23b795d34f81a83b3273b50a76eaf2e4879cdbe2.zip
apps: directly inclusion of "e_os.h when needed
Reviewed-by: Paul Dale <ppzgs1@gmail.com> Reviewed-by: Tomas Mraz <tomas@openssl.org> (Merged from https://github.com/openssl/openssl/pull/14344)
Diffstat (limited to 'apps/s_server.c')
-rw-r--r--apps/s_server.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/apps/s_server.c b/apps/s_server.c
index 4a26c0178f..e47691655e 100644
--- a/apps/s_server.c
+++ b/apps/s_server.c
@@ -9,6 +9,8 @@
* https://www.openssl.org/source/license.html
*/
+#include "internal/e_os.h"
+
#include <ctype.h>
#include <stdio.h>
#include <stdlib.h>
@@ -22,6 +24,7 @@
#include <openssl/async.h>
#include <openssl/ssl.h>
#include <openssl/decoder.h>
+#include "internal/sockets.h" /* for openssl_fdset() */
#ifndef OPENSSL_NO_SOCK