I think the #ifdef HAVE_SYS_SYLIMITS_H block is necessary. Feel free to commit with such an enclosing block. Don. On Saturday 28 December 2002 22:58, Lauri Watts wrote: > Hi all, > > There are a few places in kdenetwork/kmail and kdenetwork/kmailcvt > that currently don't compile on FreeBSD. The problem is that > PATH_MAX is defined in /usr/include/sys/syslimits.h, not in > /usr/include/limits.h, which has _POSIX_PATH_MAX in it. > > Adding an #include to the following files fixes > the problems for me: > kdenetwork/kmail/kmfoldermaildir.cpp > kdenetwork/kmailcvt/filter_oe4.cxx > kdenetwork/kmailcvt/filter_oe5.cxx > > Given the merges and things going on right now, I don't want to > touch these files myself. I'm also not sure if putting them > inside a #if defined(__FreeBSD__) or doing a proper test and > putting them inside a #ifdef HAVE_SYS_SYSLIMITS_H block is the > proper solution (I suspect the latter, this probably affects at > least the other BSD's) > > In any case, if someone could take a look at this, it would be > appreciated. > > Regards, _______________________________________________ KMail Developers mailing list kmail@mail.kde.org http://mail.kde.org/mailman/listinfo/kmail