Ticket #2074 (closed defect: fixed)
Missing sys/types.h patch for FreeBSD
| Reported by: | Artifex Maximus <artifex@freemail.hu> | Owned by: | rakshasa |
|---|---|---|---|
| Priority: | normal | Milestone: | |
| Component: | libtorrent | Version: | HEAD |
| Severity: | normal | Keywords: | |
| Cc: |
Description
Patch for compile under FreeBSD + gcc44:
# svn diff Index: src/tracker/tracker_udp.cc =================================================================== --- src/tracker/tracker_udp.cc (revision 1126) +++ src/tracker/tracker_udp.cc (working copy) @@ -36,6 +36,8 @@ #include "config.h" +#include <sys/types.h> + #include <sigc++/adaptors/bind.h> #include <torrent/connection_manager.h> #include <cstdio> Index: src/torrent/connection_manager.cc =================================================================== --- src/torrent/connection_manager.cc (revision 1126) +++ src/torrent/connection_manager.cc (working copy) @@ -36,6 +36,8 @@ #include "config.h" +#include <sys/types.h> + #include <rak/address_info.h> #include <rak/socket_address.h> Index: src/protocol/handshake_encryption.cc =================================================================== --- src/protocol/handshake_encryption.cc (revision 1126) +++ src/protocol/handshake_encryption.cc (working copy) @@ -36,6 +36,8 @@ #include "config.h" +#include <sys/types.h> + #include <algorithm> #include <functional>
Attachments
Change History
Note: See
TracTickets for help on using
tickets.
