An occurrence of getlogin_r.h was missed. Fortunately, Simon's autobuild site http://autobuild.josefsson.org/gnulib/ displayed it quickly.
2007-02-22 Bruno Haible <[EMAIL PROTECTED]> * lib/glob.c: Don't include getlogin_r.h. *** lib/glob.c 26 Jan 2007 22:16:55 -0000 1.13 --- lib/glob.c 22 Feb 2007 23:28:57 -0000 *************** *** 132,138 **** # endif # define struct_stat64 struct stat64 #else /* !_LIBC */ - # include "getlogin_r.h" # define __stat64(fname, buf) stat (fname, buf) # define struct_stat64 struct stat # define __stat(fname, buf) stat (fname, buf) --- 132,137 ---- *** lib/getlogin_r.c 19 Feb 2007 02:24:42 -0000 1.7 --- lib/getlogin_r.c 22 Feb 2007 23:28:57 -0000 *************** *** 30,36 **** char *getlogin (void); #endif ! /* See getlogin_r.h for documentation. */ int getlogin_r (char *name, size_t size) { --- 30,36 ---- char *getlogin (void); #endif ! /* See unistd_.h for documentation. */ int getlogin_r (char *name, size_t size) {