From 96601e3c617bb2122265419f0895730ed794f5af Mon Sep 17 00:00:00 2001 From: Rich Felker Date: Tue, 22 May 2012 22:07:42 -0400 Subject: [PATCH] _GNU_SOURCE implies all BSD features except ones GNU rejects --- include/unistd.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/unistd.h b/include/unistd.h index 37671fa4..9287338c 100644 --- a/include/unistd.h +++ b/include/unistd.h @@ -13,7 +13,7 @@ extern "C" { #define SEEK_CUR 1 #define SEEK_END 2 -#if defined(_BSD_SOURCE) +#if defined(_GNU_SOURCE) || defined(_BSD_SOURCE) #define L_SET 0 #define L_INCR 1 #define L_XTND 2 -- GitLab