From 7bdf11c2c611a5d8a5171c188461ff267fd555b6 Mon Sep 17 00:00:00 2001 From: Rich Felker Date: Wed, 21 Nov 2012 13:29:50 -0500 Subject: fix powerpc types to match abi, and some feature test issues --- arch/powerpc/bits/mman.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'arch/powerpc/bits/mman.h') 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 -- cgit v1.2.1