From 2cbff8d44448502d7f7d0e599d666c6478ff2ca6 Mon Sep 17 00:00:00 2001 From: Charles Kerr Date: Wed, 8 Aug 2007 23:33:01 +0000 Subject: [PATCH] (trunk) portability patch for MAXPATHLEN. Reported by afxgroup in ticket #291. --- libtransmission/basename.c | 1 + libtransmission/dirname.c | 1 + 2 files changed, 2 insertions(+) diff --git a/libtransmission/basename.c b/libtransmission/basename.c index c092dd342..3a912595e 100644 --- a/libtransmission/basename.c +++ b/libtransmission/basename.c @@ -21,6 +21,7 @@ #include #include +#include /* for MAXPATHLEN */ #include char * diff --git a/libtransmission/dirname.c b/libtransmission/dirname.c index 687ea8723..deab21136 100644 --- a/libtransmission/dirname.c +++ b/libtransmission/dirname.c @@ -21,6 +21,7 @@ #include #include +#include /* for MAXPATHLEN */ #include char *