X-Git-Url: http://erislabs.net/gitweb/?a=blobdiff_plain;f=lib%2Fglob_.h;h=451b111e22e2e4430fd5a6342db5cd3d3ca9db51;hb=a3a70ebafd7f2fdc069d43e8a26fc246dd7fe5bb;hp=5d7ab718e7091b394d5fc64a1ba36794142c17ba;hpb=f3b9015e2803b9835f997ea111f7f116acc57f6b;p=gnulib.git diff --git a/lib/glob_.h b/lib/glob_.h index 5d7ab718e..451b111e2 100644 --- a/lib/glob_.h +++ b/lib/glob_.h @@ -18,15 +18,20 @@ along with this program; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ -#ifndef GLOB_H -#define GLOB_H 1 +#ifndef _GL_GLOB_H +#define _GL_GLOB_H -#ifdef HAVE_SYS_CDEFS_H +#if @HAVE_SYS_CDEFS_H@ # include #endif #include +/* On some systems, such as AIX 5.1, does a "#define stat stat64". + Make sure this definition is seen before glob-libc.h defines types that + rely on 'struct stat'. */ +#include + #ifndef __BEGIN_DECLS # define __BEGIN_DECLS # define __END_DECLS @@ -52,4 +57,4 @@ /* Now the standard GNU C Library header should work. */ #include "glob-libc.h" -#endif /* GLOB_H */ +#endif /* _GL_GLOB_H */