/* This administrivia gets added to the end of limits.h
if the system has its own version of limits.h. */
-#endif /* not _LIMITS_H_ */
+#else /* not _GCC_LIMITS_H_ */
+
+#ifdef _GCC_NEXT_LIMITS_H
+#include_next <limits.h> /* recurse down to the real one */
+#endif
+
+#endif /* not _GCC_LIMITS_H_ */