collectd/collectd — pull request #201 by ymettier (2012-11-21 10:48:03+00:00)
Title: Ym/compilation fixes

Hello,

Here are 2 commits in this branch because I had 2 problems when compiling on Solaris 10.

1st commit : missing nanosleep. You have to compile with -lrt on Solaris
2nd commit (not specific to Solaris) : when gcrypt.h is missing, libcollectdclient won't compile. I added some #if HAVE_LIBGCRYPT to compile even when gcrypt.h is missing.

Regards,
Yves