This is the mail archive of the libc-hacker@sourceware.cygnus.com mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: glob.h lack of #includes


> Roland McGrath <roland@frob.com> writes:
> 
> > glob.h does not do the necessary #include magic to make sure that
> > size_t is defined before it uses it.  This needs to be fixed (so
> > `#include <glob.h>' at the beginning of a source file works), but I
> > don't know that interacts with the other GNU packages that use the
> > file.
> 
> This is a problem with the standard.  POSIX.2 is written that it does
> not allow glob.h (and regex.h) to define size_t.  It is always
> required to include sys/types.h (or another header defining size_t)
> before including any of the POSIX.2 headers.

What happened to __size_t?


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]