diff --git a/crypto/async/arch/async_posix.h b/crypto/async/arch/async_posix.h index 0f914647134853c13993805e31223338e05f457d..d5b23997adc586d7187ebd735be3eb841fe42497 100644 --- a/crypto/async/arch/async_posix.h +++ b/crypto/async/arch/async_posix.h @@ -63,9 +63,11 @@ /* * Some platforms complain (e.g. OS-X) that setcontext/getcontext/makecontext - * are deprecated without this defined + * are deprecated without the following defined. We know its deprecated but + * there is no alternative. */ # define _XOPEN_SOURCE +# pragma GCC diagnostic ignored "-Wdeprecated-declarations" # include # include