diff options
author | Jin^eLD <jin@mediatomb.cc> | 2013-09-05 13:02:26 +0300 |
---|---|---|
committer | Jin^eLD <jin@mediatomb.cc> | 2013-09-06 22:54:45 +0300 |
commit | e092eee869ee4bb78974985321b55a3235c32b4d (patch) | |
tree | 8732ff254fa4fa157e1752e3ec1f6a0dfb01b251 /testing/DHT_test.c | |
parent | 64570a1b12d308449aa0d688f7f513847d1dc0f7 (diff) |
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/
Diffstat (limited to 'testing/DHT_test.c')
-rw-r--r-- | testing/DHT_test.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/testing/DHT_test.c b/testing/DHT_test.c index 58879134..fce9c257 100644 --- a/testing/DHT_test.c +++ b/testing/DHT_test.c | |||
@@ -27,6 +27,10 @@ | |||
27 | * | 27 | * |
28 | */ | 28 | */ |
29 | 29 | ||
30 | #ifdef HAVE_CONFIG_H | ||
31 | #include "config.h" | ||
32 | #endif | ||
33 | |||
30 | //#include "../core/network.h" | 34 | //#include "../core/network.h" |
31 | #include "../toxcore/DHT.h" | 35 | #include "../toxcore/DHT.h" |
32 | #include "../toxcore/friend_requests.h" | 36 | #include "../toxcore/friend_requests.h" |