* Matthias Klose: > ok, now removing that leads to: > > $ cat foo.c > #include <limits.h> > > $ gcc -c foo.c > In file included from foo.c:1: > /usr/include/limits.h:124:26: error: no include path in which to search for > limits.h > 124 | # include_next <limits.h> > | ^ > > wondering if other distros patch glibc for that ...
Other distributions install limits.h from GCC (in a directory under /usr/lib/gcc), and that header is picked up first, before /usr/include/limits.h.