Merge pull request #689 from minrk/curve_keygen

include missing platform.hpp in curve_keygen
This commit is contained in:
Pieter Hintjens 2013-09-29 02:29:53 -07:00
commit 6c25d2f880
2 changed files with 7 additions and 0 deletions

View File

@ -82,6 +82,12 @@ ZMQ_EXPORT void *zmq_threadstart (zmq_thread_fn* func, void* arg);
/* Wait for thread to complete then free up resources. */
ZMQ_EXPORT void zmq_threadclose (void* thread);
/* Encode data with Z85 encoding. Returns encoded data */
ZMQ_EXPORT char *zmq_z85_encode (char *dest, uint8_t *data, size_t size);
/* Decode data with Z85 encoding. Returns decoded data */
ZMQ_EXPORT uint8_t *zmq_z85_decode (uint8_t *dest, char *string);
#undef ZMQ_EXPORT
#ifdef __cplusplus

View File

@ -25,6 +25,7 @@
*/
#include <assert.h>
#include <platform.hpp>
#include <zmq_utils.h>
#ifdef HAVE_LIBSODIUM
# include <sodium.h>