projects
/
collectd.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
decb31f
)
libcollectdclient: Use GCRY_THREAD_OPTION_PTHREAD_IMPL with older gcrypt versions...
author
Florian Forster
<octo@collectd.org>
Wed, 3 May 2017 09:45:42 +0000
(11:45 +0200)
committer
Florian Forster
<octo@collectd.org>
Wed, 3 May 2017 09:45:42 +0000
(11:45 +0200)
Copied from src/network.c
src/libcollectdclient/network_parse.c
patch
|
blob
|
history
diff --git
a/src/libcollectdclient/network_parse.c
b/src/libcollectdclient/network_parse.c
index
7a9c32a
..
cbd434b
100644
(file)
--- a/
src/libcollectdclient/network_parse.c
+++ b/
src/libcollectdclient/network_parse.c
@@
-44,7
+44,9
@@
#include <stdio.h>
#define DEBUG(...) printf(__VA_ARGS__)
+#if GCRYPT_VERSION_NUMBER < 0x010600
GCRY_THREAD_OPTION_PTHREAD_IMPL;
+#endif
/* forward declaration because parse_sign_sha256()/parse_encrypt_aes256() and
* network_parse() need to call each other. */