about summary refs log tree commit diff
path: root/posix/sys
diff options
context:
space:
mode:
Diffstat (limited to 'posix/sys')
-rw-r--r--posix/sys/types.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/posix/sys/types.h b/posix/sys/types.h
index bbda57eee0..ffeeee1ff0 100644
--- a/posix/sys/types.h
+++ b/posix/sys/types.h
@@ -59,7 +59,7 @@ typedef __daddr_t daddr_t;
 typedef __caddr_t caddr_t;
 #endif
 
-#ifdef  __USE_SVID
+#if defined __USE_SVID || defined __USE_XOPEN
 typedef __key_t key_t;
 #endif