From: Alan T. DeKok Date: Thu, 11 Feb 2021 15:56:35 +0000 (-0500) Subject: talloc_setmemlimit() is now deprecated on OSX. X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=9fc1c385977bb4f4e8405aa1eeacde2d7ee5727e;p=thirdparty%2Ffreeradius-server.git talloc_setmemlimit() is now deprecated on OSX. homebrew installs a newer version of talloc, which has marked talloc_setmemlimit() as deprecated. This change is a temporary stop-gap until we get rid of talloc_setmemlimit() everywhere. --- diff --git a/src/lib/util/talloc.h b/src/lib/util/talloc.h index d549eb5baf2..fdc6566eb95 100644 --- a/src/lib/util/talloc.h +++ b/src/lib/util/talloc.h @@ -34,6 +34,8 @@ extern "C" { #include #include #include + +USES_APPLE_DEPRECATED_API #include /** Iterate over a talloced array of elements