summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorHeiko Schlittermann (HS12-RIPE) <hs@schlittermann.de>2015-08-11 09:13:11 +0200
committerHeiko Schlittermann (HS12-RIPE) <hs@schlittermann.de>2015-08-11 09:13:11 +0200
commit505d976aa23de4294751162dee6466e335c96fbf (patch)
tree2cfc567f7175429b1db0ca4fa360cf0c18f74bca /src
parent294089da36fdf5818d933ac874188956c35e30fe (diff)
Build: Make test_{os,parse,dbfn,string} work
Diffstat (limited to 'src')
-rw-r--r--src/OS/Makefile-Base17
-rw-r--r--src/src/host.c2
2 files changed, 10 insertions, 9 deletions
diff --git a/src/OS/Makefile-Base b/src/OS/Makefile-Base
index 1d5a5f6f4..95110e6ce 100644
--- a/src/OS/Makefile-Base
+++ b/src/OS/Makefile-Base
@@ -743,11 +743,11 @@ sa-os.o: $(HDRS) os.c
# These are the test targets themselves
test_dbfn: config.h dbfn.c dummies.o sa-globals.o sa-os.o store.o \
- string.o tod.o version.o
+ string.o tod.o version.o utf8.o
$(CC) -c $(CFLAGS) $(INCLUDE) -DSTAND_ALONE dbfn.c
$(LNCC) -o test_dbfn $(LFLAGS) dbfn.o \
dummies.o sa-globals.o sa-os.o store.o string.o \
- tod.o version.o $(LIBS) $(DBMLIB)
+ tod.o version.o utf8.o $(LIBS) $(DBMLIB) $(LDFLAGS)
rm -f dbfn.o
test_host: config.h child.c host.c dns.c dummies.c sa-globals.o os.o \
@@ -761,23 +761,24 @@ test_host: config.h child.c host.c dns.c dummies.c sa-globals.o os.o \
tod.o tree.o $(LIBS) $(LIBRESOLV)
rm -f child.o dummies.o host.o dns.o
-test_os: os.h os.c dummies.o sa-globals.o store.o string.o tod.o
+test_os: os.h os.c dummies.o sa-globals.o store.o string.o tod.o utf8.o
$(CC) -c $(CFLAGS) $(INCLUDE) -DSTAND_ALONE os.c
$(LNCC) -o test_os $(LFLAGS) os.o dummies.o \
- sa-globals.o store.o string.o tod.o $(LIBS)
+ sa-globals.o store.o string.o tod.o utf8.o $(LIBS) $(LDFLAGS)
rm -f os.o
test_parse: config.h parse.c dummies.o sa-globals.o \
- store.o string.o tod.o version.o
+ store.o string.o tod.o version.o utf8.o
$(CC) -c $(CFLAGS) $(INCLUDE) -DSTAND_ALONE parse.c
$(LNCC) -o test_parse $(LFLAGS) parse.o \
- dummies.o sa-globals.o store.o string.o tod.o version.o
+ dummies.o sa-globals.o store.o string.o tod.o version.o \
+ utf8.o $(LDFLAGS)
rm -f parse.o
-test_string: config.h string.c dummies.o sa-globals.o store.o tod.o
+test_string: config.h string.c dummies.o sa-globals.o store.o tod.o utf8.o
$(CC) -c $(CFLAGS) $(INCLUDE) -DSTAND_ALONE string.c
$(LNCC) -o test_string $(LFLAGS) -DSTAND_ALONE string.o \
- dummies.o sa-globals.o store.o tod.o $(LIBS)
+ dummies.o sa-globals.o store.o tod.o utf8.o $(LIBS) $(LDFLAGS)
rm -f string.o
# End
diff --git a/src/src/host.c b/src/src/host.c
index 94126d423..31c2bbff4 100644
--- a/src/src/host.c
+++ b/src/src/host.c
@@ -3212,7 +3212,7 @@ while (Ufgets(buffer, 256, stdin) != NULL)
else
{
int flags = whichrrs;
- dnssec d;
+ dnssec_domains d;
h.name = buffer;
h.next = NULL;