summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorRich Felker <dalias@aerifal.cx>2012-05-22 22:07:42 -0400
committerRich Felker <dalias@aerifal.cx>2012-05-22 22:07:42 -0400
commit96601e3c617bb2122265419f0895730ed794f5af (patch)
tree9416d74e98f327109cb2131a8ccef163cbdd9638 /include
parent671ffab7769b4dfd873f0c585444823a67dc56bc (diff)
downloadmusl-96601e3c617bb2122265419f0895730ed794f5af.tar.gz
musl-96601e3c617bb2122265419f0895730ed794f5af.tar.bz2
musl-96601e3c617bb2122265419f0895730ed794f5af.tar.xz
musl-96601e3c617bb2122265419f0895730ed794f5af.zip
_GNU_SOURCE implies all BSD features except ones GNU rejects
Diffstat (limited to 'include')
-rw-r--r--include/unistd.h2
1 files changed, 1 insertions, 1 deletions
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