summaryrefslogtreecommitdiff
path: root/toxcore/friend_requests.c
diff options
context:
space:
mode:
authorJin^eLD <jin@mediatomb.cc>2013-09-05 13:02:26 +0300
committerJin^eLD <jin@mediatomb.cc>2013-09-06 22:54:45 +0300
commite092eee869ee4bb78974985321b55a3235c32b4d (patch)
tree8732ff254fa4fa157e1752e3ec1f6a0dfb01b251 /toxcore/friend_requests.c
parent64570a1b12d308449aa0d688f7f513847d1dc0f7 (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 'toxcore/friend_requests.c')
-rw-r--r--toxcore/friend_requests.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/toxcore/friend_requests.c b/toxcore/friend_requests.c
index 6e98f18b..b01015c4 100644
--- a/toxcore/friend_requests.c
+++ b/toxcore/friend_requests.c
@@ -21,6 +21,10 @@
21 * 21 *
22 */ 22 */
23 23
24#ifdef HAVE_CONFIG_H
25#include "config.h"
26#endif
27
24#include "friend_requests.h" 28#include "friend_requests.h"
25 29
26/* Try to send a friend request to peer with public_key. 30/* Try to send a friend request to peer with public_key.