diff options
-rw-r--r-- | sys/sys/stat.h | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/sys/sys/stat.h b/sys/sys/stat.h index 640e33ef893..8aac32ed145 100644 --- a/sys/sys/stat.h +++ b/sys/sys/stat.h @@ -1,4 +1,4 @@ -/* $OpenBSD: stat.h,v 1.21 2012/12/05 23:20:24 deraadt Exp $ */ +/* $OpenBSD: stat.h,v 1.22 2013/06/04 02:23:56 guenther Exp $ */ /* $NetBSD: stat.h,v 1.20 1996/05/16 22:17:49 cgd Exp $ */ /*- @@ -143,6 +143,13 @@ struct stat { #define S_ISSOCK(m) ((m & 0170000) == 0140000) /* socket */ #endif +#if __POSIX_VISIBLE >= 200809 +/* manadated to be present, but permitted to always return zero */ +#define S_TYPEISMQ(m) 0 +#define S_TYPEISSEM(m) 0 +#define S_TYPEISSHM(m) 0 +#endif + #if __BSD_VISIBLE #define ACCESSPERMS (S_IRWXU|S_IRWXG|S_IRWXO) /* 00777 */ /* 07777 */ |