summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorTomas Mraz <tomas@openssl.org>2023-06-06 12:19:10 +0200
committerTomas Mraz <tomas@openssl.org>2023-06-10 22:34:42 +0200
commitc4ce0e3303d586bc4ec41f380c94ccb4fb84e2d5 (patch)
treef4893c8999d384dacf32d93e7b1d26863ec08a6f /include
parentab77026cecb7fed31e8df99655da1d0f302c4ccc (diff)
Include poll.h instead of incorrect sys/poll.h
Reviewed-by: Paul Dale <pauli@openssl.org> Reviewed-by: Tom Cosgrove <tom.cosgrove@arm.com> Reviewed-by: Anton Arapov <anton@openssl.org> (Merged from https://github.com/openssl/openssl/pull/21131)
Diffstat (limited to 'include')
-rw-r--r--include/internal/sockets.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/internal/sockets.h b/include/internal/sockets.h
index f409d4bb50..100e346297 100644
--- a/include/internal/sockets.h
+++ b/include/internal/sockets.h
@@ -114,7 +114,7 @@ struct servent *PASCAL getservbyname(const char *, const char *);
# endif
# ifdef OPENSSL_SYS_UNIX
-# include <sys/poll.h>
+# include <poll.h>
# include <errno.h>
# endif