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

noreply at thewildbeast.co.uk noreply at thewildbeast.co.uk
Wed Feb 14 15:07:53 UTC 2024


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

            Bug ID: 4777
           Summary: include sys/socket.h unconditional in nntp-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 2462
  -->
https://www.thewildbeast.co.uk/claws-mail/bugzilla/attachment.cgi?id=2462&action=edit
master-include-sys-socket.h-unconditional-in-nntp-thread.c.patch

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.

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


More information about the Users mailing list