Commit 33958827f7 for openssl.org

commit 33958827f7ca17f02fdea18b9585ad31daab8a41
Author: Sebastian Andrzej Siewior <sebastian@breakpoint.cc>
Date:   Sat Mar 21 15:35:02 2026 +0100

    apps: Move PATH_MAX define out of the win32 block

    The PATH_MAX define is needed on HURD which is now skipped since it is
    winthin the _WIN32 block.

    Move the PATH_MAX check+define outside of the _WIN32 block.

    Fixes: a2e5848d9d11 "s_client and s_server options for ECH"
    Signed-off-by: Sebastian Andrzej Siewior <sebastian@breakpoint.cc>

    Reviewed-by: Eugene Syromiatnikov <esyr@openssl.org>
    Reviewed-by: Nikola Pajkovsky <nikolap@openssl.org>
    Reviewed-by: Tomas Mraz <tomas@openssl.foundation>
    MergeDate: Sun Apr 26 11:35:52 2026
    (Merged from https://github.com/openssl/openssl/pull/30520)

diff --git a/apps/s_server.c b/apps/s_server.c
index cd5a8aab97..bcb26cb285 100644
--- a/apps/s_server.c
+++ b/apps/s_server.c
@@ -18,10 +18,10 @@
 #if defined(_WIN32)
 /* Included before async.h to avoid some warnings */
 #include <windows.h>
+#endif
 #if !defined(OPENSSL_NO_ECH) && !defined(PATH_MAX)
 #define PATH_MAX 4096
 #endif
-#endif

 #include <openssl/e_os2.h>
 #include <openssl/async.h>