From 37c240d14c5179dcb6a257fe34e23dc70bc7f516 Mon Sep 17 00:00:00 2001 From: Michael Kerrisk Date: Thu, 21 Aug 2014 13:47:25 -0500 Subject: [PATCH] fcntl.2: One must define _GNU_SOURCE to get the F_OFD_* definitions Signed-off-by: Michael Kerrisk --- man2/fcntl.2 | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/man2/fcntl.2 b/man2/fcntl.2 index 806cec986..d377d47dc 100644 --- a/man2/fcntl.2 +++ b/man2/fcntl.2 @@ -1472,7 +1472,9 @@ macro to obtain these definitions.) .BR F_OFD_SETLKW , and .BR F_OFD_GETLK -are Linux-specific, +are Linux-specific (and one must define +.BR _GNU_SOURCE +to obtain their definitions), but work is being done to have them included in the next version of POSIX.1. .\" FIXME Presumably, glibc will require _GNU_SOURCE .SH NOTES