Include sys/socket.h unconditional in imap-thread.c
commit38c61b17980e22106fc09d4e440054256a0b8df7
authorOlaf Hering <olaf@aepfle.de>
Wed, 14 Feb 2024 10:13:43 +0000 (14 11:13 +0100)
committerRicardo Mones <ricardo@mones.org>
Wed, 14 Feb 2024 10:13:43 +0000 (14 11:13 +0100)
tree28bc59123f5d18b7c54f08da8dcf0f2766c5c115
parent915da5896b1f9ca11c668cb40ca3f7eb2562e014
Include sys/socket.h unconditional in imap-thread.c

The code uses socketpair, which according to socketpair(3p) needs this
header. Move it into the existing conditional, because the calling
function imap_threaded_connect_cmd is also wrapped in the same
conditional.

Currently the header is indirectly included via netdb.h.

Signed-off-by: Olaf Hering <olaf@aepfle.de>
src/etpan/imap-thread.c