changeset 669:32c13602c091

Some functions used were factored into new th_datastruct module in th-libs, so include the necessary header file as needed, and build the module object.
author Matti Hamalainen <ccr@tnsp.org>
date Wed, 17 Feb 2016 14:28:17 +0200
parents f212cbfbd93c
children 06199003043a
files Makefile.gen util.h
diffstat 2 files changed, 2 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/Makefile.gen	Mon Feb 15 07:04:48 2016 +0200
+++ b/Makefile.gen	Wed Feb 17 14:28:17 2016 +0200
@@ -21,7 +21,7 @@
 # Objects
 #
 THLIBS_A=$(OBJPATH)thlibs.a
-THLIBS_OBJ=th_util.o th_string.o th_args.o th_ioctx.o th_file.o th_config.o th_network.o
+THLIBS_OBJ=th_util.o th_string.o th_args.o th_ioctx.o th_file.o th_config.o th_network.o th_datastruct.o
 
 NNCHAT_OBJ=main.o util.o ui.o
 NNCHAT_BIN=$(BINPATH)nnchat$(EXEEXT)
--- a/util.h	Mon Feb 15 07:04:48 2016 +0200
+++ b/util.h	Wed Feb 17 14:28:17 2016 +0200
@@ -10,6 +10,7 @@
 #include <unistd.h>
 #include "th_types.h"
 #include "th_string.h"
+#include "th_datastruct.h"
 
 
 #define NN_TMPBUF_SIZE    (4096)