diff options
Diffstat (limited to 'net/trackerbt/files/patch-tracker.cpp')
-rw-r--r-- | net/trackerbt/files/patch-tracker.cpp | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/net/trackerbt/files/patch-tracker.cpp b/net/trackerbt/files/patch-tracker.cpp new file mode 100644 index 000000000000..71014509b0cd --- /dev/null +++ b/net/trackerbt/files/patch-tracker.cpp @@ -0,0 +1,22 @@ +--- tracker.cpp.orig Sun Jan 16 02:18:36 2005 ++++ tracker.cpp Sun Jan 16 02:19:42 2005 +@@ -19,6 +19,10 @@ + along with this program; if not, write to the Free Software + Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. + */ ++#if (defined(__unix__) || defined(unix)) && !defined(USG) ++#include <sys/param.h> ++#endif ++ + #include <ListenSocket.h> + #include <signal.h> + #include "MyHandler.h" +@@ -43,6 +47,8 @@ + fprintf(fil,"\tedge [arrowhead=open]\n"); + #ifdef _WIN32 + std::string os = "Win32"; ++#elif defined __FreeBSD__ ++ std::string os = "FreeBSD"; + #else + std::string os = "Linux"; + #endif |