about summary refs log tree commit diff
path: root/arch/powerpc/bits/mman.h
diff options
context:
space:
mode:
authorRich Felker <dalias@aerifal.cx>2012-11-21 13:29:50 -0500
committerRich Felker <dalias@aerifal.cx>2012-11-21 13:29:50 -0500
commit7bdf11c2c611a5d8a5171c188461ff267fd555b6 (patch)
treee5c1b5946248ddaf073ff0912a69f40858de1f77 /arch/powerpc/bits/mman.h
parent2df4f6f17b1f14684cb991c53c9ef0ddaa8c7bad (diff)
downloadmusl-7bdf11c2c611a5d8a5171c188461ff267fd555b6.tar.gz
musl-7bdf11c2c611a5d8a5171c188461ff267fd555b6.tar.xz
musl-7bdf11c2c611a5d8a5171c188461ff267fd555b6.zip
fix powerpc types to match abi, and some feature test issues
Diffstat (limited to 'arch/powerpc/bits/mman.h')
-rw-r--r--arch/powerpc/bits/mman.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/powerpc/bits/mman.h b/arch/powerpc/bits/mman.h
index 302044eb..03f961e8 100644
--- a/arch/powerpc/bits/mman.h
+++ b/arch/powerpc/bits/mman.h
@@ -30,7 +30,7 @@
 #define MCL_CURRENT     1
 #define MCL_FUTURE      2
 
-#ifdef _GNU_SOURCE
+#if defined(_GNU_SOURCE) || defined(_BSD_SOURCE)
 #define MADV_NORMAL      0
 #define MADV_RANDOM      1
 #define MADV_SEQUENTIAL  2