_POSIX_PATH_MAX unknown in ptimer.c (Re: CVS Head Status)

Ralf Corsepius ralf.corsepius at rtems.org
Sun Jun 18 06:22:00 UTC 2006

On Sat, 2006-06-17 at 20:17 +0200, Waschk,Kolja wrote:
> Hi,
> > could test, fix warnings, etc.  I think a 4.7 branch
> I just updated to HEAD and found that cpukit/posix/src/ptimer.c
> doesn't compile in my environment because _POSIX_PATH_MAX isn't known.
Well, it's probably a side-effect of an incompatibility between your
proprietary toolchain and the official ones, which hides this issue away
from the official toolchains.

> Including <limits.h> fixes it for me (gcc 3.4.1/newlib 1.14.0).
Yes, this is the appropriate fix.

Patch applied, Thanks.


More information about the users mailing list