[prev in list] [next in list] [prev in thread] [next in thread]
List: kmail-devel
Subject: FreeBSD compile fixes
From: Lauri Watts <lauri () kde ! org>
Date: 2002-12-28 12:58:11
[Download RAW message or body]
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
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 <sys/syslimits.h> 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,
- --
Lauri Watts
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.1 (FreeBSD)
iD8DBQE+DZ/m/gUyA7PWnacRAv67AJ0Wm8kLzt+Mz3crAKiKdpEF9njzVQCcDNob
2uJcaeF1JYpMYAlhOjumH20=
=wDZY
-----END PGP SIGNATURE-----
_______________________________________________
KMail Developers mailing list
kmail@mail.kde.org
http://mail.kde.org/mailman/listinfo/kmail
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic