From: Rich Felker Date: Wed, 23 May 2012 02:07:42 +0000 (-0400) Subject: _GNU_SOURCE implies all BSD features except ones GNU rejects X-Git-Tag: v0.9.1~37 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=96601e3c617bb2122265419f0895730ed794f5af;p=musl _GNU_SOURCE implies all BSD features except ones GNU rejects --- 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