diff options
author | irungentoo <irungentoo@gmail.com> | 2013-12-31 23:18:37 -0500 |
---|---|---|
committer | irungentoo <irungentoo@gmail.com> | 2013-12-31 23:18:37 -0500 |
commit | 97b9a9cf04570fde8646d0606fab93344a72153a (patch) | |
tree | b8f4c69c8e7cb09ccb901cad48c56ab2a3c476e7 /toxcore | |
parent | 5341801bf17f9e9ce307a2c4efebf466a42a936d (diff) |
Added onion.c to build system and added a test.
Diffstat (limited to 'toxcore')
-rw-r--r-- | toxcore/Makefile.inc | 2 | ||||
-rw-r--r-- | toxcore/onion.c | 3 |
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 | ||
34 | libtoxcore_la_CFLAGS = -I$(top_srcdir) \ | 36 | libtoxcore_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 | ||