summaryrefslogtreecommitdiff
path: root/toxcore
diff options
context:
space:
mode:
authorirungentoo <irungentoo@gmail.com>2013-12-31 23:18:37 -0500
committerirungentoo <irungentoo@gmail.com>2013-12-31 23:18:37 -0500
commit97b9a9cf04570fde8646d0606fab93344a72153a (patch)
treeb8f4c69c8e7cb09ccb901cad48c56ab2a3c476e7 /toxcore
parent5341801bf17f9e9ce307a2c4efebf466a42a936d (diff)
Added onion.c to build system and added a test.
Diffstat (limited to 'toxcore')
-rw-r--r--toxcore/Makefile.inc2
-rw-r--r--toxcore/onion.c3
2 files changed, 5 insertions, 0 deletions
diff --git a/toxcore/Makefile.inc b/toxcore/Makefile.inc
index 8208c548..d808bde3 100644
--- a/toxcore/Makefile.inc
+++ b/toxcore/Makefile.inc
@@ -29,6 +29,8 @@ libtoxcore_la_SOURCES = ../toxcore/DHT.h \
29 ../toxcore/group_chats.c \ 29 ../toxcore/group_chats.c \
30 ../toxcore/assoc.h \ 30 ../toxcore/assoc.h \
31 ../toxcore/assoc.c \ 31 ../toxcore/assoc.c \
32 ../toxcore/onion.h \
33 ../toxcore/onion.c \
32 ../toxcore/misc_tools.h 34 ../toxcore/misc_tools.h
33 35
34libtoxcore_la_CFLAGS = -I$(top_srcdir) \ 36libtoxcore_la_CFLAGS = -I$(top_srcdir) \
diff --git a/toxcore/onion.c b/toxcore/onion.c
index 22f44527..bbcae79d 100644
--- a/toxcore/onion.c
+++ b/toxcore/onion.c
@@ -19,6 +19,9 @@
19* along with Tox. If not, see <http://www.gnu.org/licenses/>. 19* along with Tox. If not, see <http://www.gnu.org/licenses/>.
20* 20*
21*/ 21*/
22#ifdef HAVE_CONFIG_H
23#include "config.h"
24#endif
22 25
23#include "onion.h" 26#include "onion.h"
24 27