There's a compatibility problem with the guard definition used in the sys-limits.h file that affects illumos (an opensolaris derivative) and most likely Solaris too.
These operating systems have a /usr/include/sys/limits.h file which uses the _SYS_LIMITS_H guard. Since the same guard is used in the gnulib sys-limits.h, we are finding that as packages update their copies of gnulib, compilation breaks (most recently we experienced this with coreutils, grep and tar - usually the symptom is that SYS_BUFSIZE_MAX is not defined). Would it be possible to replace _SYS_LIMITS_H in sys-limits.h with something else in order to resolve this problem? Thanks, Andy