The macro USHRT_MAX is defined in two places:
1. /usr/include/sys/types.h but only if the macro _KERNEL is defined
2. /usr/include/iso/limits_iso.h but trying to include this file produces lots of errors
Eventualy I just copied the definition from sys/types.h into labels.c
and then the compilation succeeded.
Comments:
[ellson]
Fixed yesterday, it OK in today's snapshot.
The fix was: #include <limits.h>
Owner: ellson
Status: Fixed