From: Alan T. DeKok Date: Fri, 26 Jan 2018 23:13:29 +0000 (-0500) Subject: don't re-define macro X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=384e82093bcf80d761ccda231ac3caffe8c77d55;p=thirdparty%2Ffreeradius-server.git don't re-define macro --- diff --git a/src/include/talloc.h b/src/include/talloc.h index a324d41bf16..dfcccadc24b 100644 --- a/src/include/talloc.h +++ b/src/include/talloc.h @@ -90,8 +90,10 @@ static inline void *_talloc_list_get_type_abort(void *head, size_t offset, char return head; } #else +#ifndef talloc_get_type_abort # define talloc_get_type_abort(_head, _type) #endif +#endif /* * talloc portability issues. 'const' is not part of the talloc