[Users] [Bug 4776] New: include sys/socket.h unconditional in imap-thread.c

noreply at thewildbeast.co.uk noreply at thewildbeast.co.uk
Tue Feb 13 22:36:25 UTC 2024


https://www.thewildbeast.co.uk/claws-mail/bugzilla/show_bug.cgi?id=4776

            Bug ID: 4776
           Summary: include sys/socket.h unconditional in imap-thread.c
           Product: Claws Mail
           Version: GIT
          Hardware: PC
                OS: All
            Status: NEW
          Severity: normal
          Priority: P3
         Component: Other
          Assignee: users at lists.claws-mail.org
          Reporter: olaf at aepfle.de

Created attachment 2461
  -->
https://www.thewildbeast.co.uk/claws-mail/bugzilla/attachment.cgi?id=2461&action=edit
master-include-sys-socket.h-unconditional-in-imap-thread.c.patch

The code uses socketwait, 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.

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the Users mailing list