summaryrefslogtreecommitdiff
path: root/defines.h
diff options
context:
space:
mode:
Diffstat (limited to 'defines.h')
-rw-r--r--defines.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/defines.h b/defines.h
index b67cf467d..a435de76e 100644
--- a/defines.h
+++ b/defines.h
@@ -25,7 +25,7 @@
25#ifndef _DEFINES_H 25#ifndef _DEFINES_H
26#define _DEFINES_H 26#define _DEFINES_H
27 27
28/* $Id: defines.h,v 1.165 2011/05/05 01:19:15 djm Exp $ */ 28/* $Id: defines.h,v 1.166 2011/05/05 06:06:59 tim Exp $ */
29 29
30 30
31/* Constants */ 31/* Constants */
@@ -131,6 +131,10 @@ enum
131# define O_NONBLOCK 00004 /* Non Blocking Open */ 131# define O_NONBLOCK 00004 /* Non Blocking Open */
132#endif 132#endif
133 133
134#ifndef S_IFSOCK
135# define S_IFSOCK 0
136#endif /* S_IFSOCK */
137
134#ifndef S_ISDIR 138#ifndef S_ISDIR
135# define S_ISDIR(mode) (((mode) & (_S_IFMT)) == (_S_IFDIR)) 139# define S_ISDIR(mode) (((mode) & (_S_IFMT)) == (_S_IFDIR))
136#endif /* S_ISDIR */ 140#endif /* S_ISDIR */