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, 1 insertions, 1 deletions
diff --git a/io/sys/stat.h b/io/sys/stat.h
index 18eafb4bca..1a674b1df2 100644
--- a/io/sys/stat.h
+++ b/io/sys/stat.h
@@ -109,7 +109,7 @@ __BEGIN_DECLS
 # ifdef __S_IFLNK
 #  define S_IFLNK	__S_IFLNK
 # endif
-# if (defined __USE_BSD || defined __USE_MISC) && !defined __S_IFSOCK
+# if (defined __USE_BSD || defined __USE_MISC) && defined __S_IFSOCK
 #  define S_IFSOCK	__S_IFSOCK
 # endif
 #endif