(F_SETOWN, F_GETOWN): Make available if __USE_XOPEN2K.
authordrepper <drepper>
Sun, 30 Apr 2000 07:09:27 +0000 (07:09 +0000)
committerdrepper <drepper>
Sun, 30 Apr 2000 07:09:27 +0000 (07:09 +0000)
sysdeps/unix/sysv/linux/bits/fcntl.h

index 9714b56..16a9f64 100644 (file)
@@ -74,7 +74,7 @@
 #define F_SETLK64      6       /* Set record locking info (non-blocking).  */
 #define F_SETLKW64     7       /* Set record locking info (blocking).  */
 
-#ifdef __USE_BSD
+#if defined __USE_BSD || defined __USE_XOPEN2K
 # define F_SETOWN      8       /* Get owner of socket (receiver of SIGIO).  */
 # define F_GETOWN      9       /* Set owner of socket (receiver of SIGIO).  */
 #endif