[Commits] [SCM] claws branch, gtk2, updated. 3.20.0-51-gd5fc05dd1
mones at claws-mail.org
mones at claws-mail.org
Wed Feb 14 10:14:34 UTC 2024
The branch, gtk2 has been updated
via d5fc05dd1c6db7e857fcbe89bef7bb74cde72597 (commit)
from 01c7fcaead2be0af004b2de6bea14c1581d31d9d (commit)
Summary of changes:
src/etpan/imap-thread.c | 4 +---
1 file changed, 1 insertion(+), 3 deletions(-)
- Log -----------------------------------------------------------------
commit d5fc05dd1c6db7e857fcbe89bef7bb74cde72597
Author: Olaf Hering <olaf at aepfle.de>
Date: Wed Feb 14 11:13:43 2024 +0100
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 at aepfle.de>
diff --git a/src/etpan/imap-thread.c b/src/etpan/imap-thread.c
index 86168d74d..0c563777e 100644
--- a/src/etpan/imap-thread.c
+++ b/src/etpan/imap-thread.c
@@ -29,11 +29,9 @@
#include <imap.h>
#include <sys/types.h>
#include <sys/stat.h>
-#if (defined(__DragonFly__) || defined (__NetBSD__) || defined (__FreeBSD__) || defined (__OpenBSD__) || defined (__CYGWIN__))
-#include <sys/socket.h>
-#endif
#include <fcntl.h>
#ifndef G_OS_WIN32
+#include <sys/socket.h>
#include <sys/mman.h>
#include <sys/wait.h>
#endif
-----------------------------------------------------------------------
hooks/post-receive
--
Claws Mail
More information about the Commits
mailing list