From e092eee869ee4bb78974985321b55a3235c32b4d Mon Sep 17 00:00:00 2001 From: Jin^eLD Date: Thu, 5 Sep 2013 13:02:26 +0300 Subject: Allow to build vs nacl instead of libsodium By default libsodium is used. Only if --enable-nacl is specified, then nacl will be used instead of libsodium. Pass locations of nacl headers and libraries by using the following options: --with-nacl-headers=/home/me/somewhere/nacl-20110221/build/469/include/amd64/ --with-nacl-libs=/home/me/somewhere/nacl-20110221/build/469/lib/amd64/ --- toxcore/DHT.c | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'toxcore/DHT.c') diff --git a/toxcore/DHT.c b/toxcore/DHT.c index 4807c369..e2d91256 100644 --- a/toxcore/DHT.c +++ b/toxcore/DHT.c @@ -23,6 +23,10 @@ /*----------------------------------------------------------------------------------*/ +#ifdef HAVE_CONFIG_H +#include "config.h" +#endif + #include "DHT.h" #include "ping.h" #include "misc_tools.h" -- cgit v1.2.3