From aa576322e055c8ab05b8d57301691d9efd2c4560 Mon Sep 17 00:00:00 2001 From: Matt Turner Date: Sat, 30 Jan 2010 00:22:01 +0000 Subject: [PATCH] Fix Alpha bits/stat.h double inclusion problem. --- ChangeLog.alpha | 5 +++++ sysdeps/unix/sysv/linux/alpha/bits/stat.h | 5 +++++ 2 files changed, 10 insertions(+) diff --git a/ChangeLog.alpha b/ChangeLog.alpha index 4eaf02f36d..e41c202887 100644 --- a/ChangeLog.alpha +++ b/ChangeLog.alpha @@ -1,5 +1,10 @@ 2010-01-12 Matt Turner + * sysdeps/unix/sysv/linux/alpha/bits/stat.h: Fix double-inclusion + problem. + +2010-01-12 Matt Turner + * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h: Define SA_RESTART, SA_NODEFER and SA_RESETHAND if __USE_XOPEN2K8. diff --git a/sysdeps/unix/sysv/linux/alpha/bits/stat.h b/sysdeps/unix/sysv/linux/alpha/bits/stat.h index 4dbfebe99f..d7241bd1aa 100644 --- a/sysdeps/unix/sysv/linux/alpha/bits/stat.h +++ b/sysdeps/unix/sysv/linux/alpha/bits/stat.h @@ -21,6 +21,9 @@ # error "Never include directly; use instead." #endif +#ifndef _BITS_STAT_H +#define _BITS_STAT_H 1 + /* Versions of the `struct stat' data structure. */ #define _STAT_VER_KERNEL 0 #define _STAT_VER_GLIBC2 1 @@ -155,3 +158,5 @@ struct stat64 # define UTIME_NOW ((1l << 30) - 1l) # define UTIME_OMIT ((1l << 30) - 2l) #endif + +#endif /* bits/stat.h */ -- 2.11.4.GIT