about summary refs log tree commit diff
path: root/io
diff options
context:
space:
mode:
Diffstat (limited to 'io')
-rw-r--r--io/sys/stat.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/io/sys/stat.h b/io/sys/stat.h
index 01bc00165e..d57b8d6ee8 100644
--- a/io/sys/stat.h
+++ b/io/sys/stat.h
@@ -63,6 +63,8 @@ __BEGIN_DECLS
 #ifdef	__USE_BSD
 # ifdef __S_IFLNK
 #  define S_ISLNK(mode)	 __S_ISTYPE((mode), __S_IFLNK)
+# else
+#  define S_ISLNK(mode)  0
 # endif
 # ifdef __S_IFSOCK
 #  define S_ISSOCK(mode) __S_ISTYPE((mode), __S_IFSOCK)