# endif /* sparc or HAVE_ALLOCA_H. */
# endif /* GCC. */
-# define __alloca alloca
-
#endif
#ifndef __GNU_LIBRARY__
#endif
#include <glob.h>
+#if !defined __alloca
+# define __alloca alloca
+#endif
+
+#if !defined __stat
+# define __stat stat
+#endif
+
#ifdef HAVE_GETLOGIN_R
extern int getlogin_r __P ((char *, size_t));
#else