X-Git-Url: http://nsz.repo.hu/git/?a=blobdiff_plain;ds=sidebyside;f=arch%2Fpowerpc%2Fbits%2Fmman.h;h=b6014c1a944e3122f6694d122ed504424f9a3752;hb=0e10f740069c2d805d3199a8079b73e828c7d8d9;hp=302044eb30c65dd40d681c520d73395d889ee611;hpb=8bb181622222f2ee3462c8b021bcae4fcdbbd37a;p=musl diff --git a/arch/powerpc/bits/mman.h b/arch/powerpc/bits/mman.h index 302044eb..b6014c1a 100644 --- a/arch/powerpc/bits/mman.h +++ b/arch/powerpc/bits/mman.h @@ -16,6 +16,7 @@ #define MAP_ANON 0x20 #define MAP_ANONYMOUS MAP_ANON #define MAP_32BIT 0x40 +#define MAP_NORESERVE 0x40 #define POSIX_MADV_NORMAL 0 #define POSIX_MADV_RANDOM 1 @@ -30,7 +31,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