X-Git-Url: http://wien.tomnetworks.com/gitweb/?a=blobdiff_plain;f=support%2Fsys-mman.c;h=f885d11b82195f45ff638b940222c82000e1882b;hb=1113782115f43dae2d4a3bb705a30cf3e8e0cbdb;hp=256d954fefcdbd885a1360ab7f0077e9fc50b979;hpb=174de374ff364c808c62e0c2496ec07867f4e86d;p=mono.git diff --git a/support/sys-mman.c b/support/sys-mman.c index 256d954fefc..f885d11b821 100644 --- a/support/sys-mman.c +++ b/support/sys-mman.c @@ -13,6 +13,10 @@ /* For mincore () */ #define _DARWIN_C_SOURCE #endif +#ifdef __FreeBSD__ +/* For mincore () */ +#define __BSD_VISIBLE 1 +#endif #include #include