From: Gerd Hoffmann Date: Fri, 25 Apr 2025 05:51:53 +0000 (+0200) Subject: poll builder: add dummy field X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=04b59c419933adca4cde1d97e2c7522cb21c3468;p=thirdparty%2Fopenssl.git poll builder: add dummy field The microsoft compiler does not like the empty struct, so go add a dummy field instead. Signed-off-by: Gerd Hoffmann Reviewed-by: Paul Yang Reviewed-by: Tomas Mraz (Merged from https://github.com/openssl/openssl/pull/27494) --- diff --git a/ssl/rio/poll_builder.h b/ssl/rio/poll_builder.h index 985e4713b29..0a03f89df74 100644 --- a/ssl/rio/poll_builder.h +++ b/ssl/rio/poll_builder.h @@ -24,7 +24,7 @@ */ typedef struct rio_poll_builder_st { # if RIO_POLL_METHOD == RIO_POLL_METHOD_NONE - /* nothing */; + int unused_dummy; /* make microsoft compiler happy */ # elif RIO_POLL_METHOD == RIO_POLL_METHOD_SELECT fd_set rfd, wfd, efd; int hwm_fd;