X-Git-Url: https://git.octo.it/?a=blobdiff_plain;f=src%2Fnetwork.c;fp=src%2Fnetwork.c;h=3f0c6fa1a08858def27ffd167362475faf0fcbc8;hb=cc0bb2b472628ccede974a02c822d1f9189f0d21;hp=1f8fe0ada0635f1d21a63c83991f8248569af35d;hpb=494386dffbab10af47c08846e6e3fec2b2ae5107;p=collectd.git diff --git a/src/network.c b/src/network.c index 1f8fe0ad..3f0c6fa1 100644 --- a/src/network.c +++ b/src/network.c @@ -66,6 +66,11 @@ */ # pragma GCC diagnostic ignored "-Wdeprecated-declarations" # endif +/* FreeBSD's copy of libgcrypt extends the existing GCRYPT_NO_DEPRECATED + * to properly hide all deprecated functionality. + * http://svnweb.freebsd.org/ports/head/security/libgcrypt/files/patch-src__gcrypt.h.in + */ +# define GCRYPT_NO_DEPRECATED # include # if defined __APPLE__ /* Re enable deprecation warnings */