author | Ed Schouten <ed@80386.nl> | |
Fri, 16 Nov 2012 20:58:46 +0000 (21:58 +0100) | ||
committer | Florian Forster <octo@collectd.org> | |
Sat, 17 Nov 2012 07:06:31 +0000 (08:06 +0100) | ||
commit | 55832a2197b65223bbfaff233dab755384c33a86 | |
tree | f59ef455889e134d16e6fc8249a50a7225489fa2 | tree | snapshot |
parent | 96bcc6a8ec704702462784de938674f7e5a03e2f | commit | diff |
src/network.c: Fix the build on FreeBSD.
<gcrypt.h> accepts a definition called GCRYPT_NO_DEPRECATED to disable
deprecated functionality. Unfortunately, this definition is not
sufficient to suppress all warnings. However, FreeBSD's version of
libgcrypt has been fixed to properly remove all deprecated features.
Signed-off-by: Florian Forster <octo@collectd.org>
<gcrypt.h> accepts a definition called GCRYPT_NO_DEPRECATED to disable
deprecated functionality. Unfortunately, this definition is not
sufficient to suppress all warnings. However, FreeBSD's version of
libgcrypt has been fixed to properly remove all deprecated features.
Signed-off-by: Florian Forster <octo@collectd.org>
src/network.c | diff | blob | history |