From 769352e9214082c50635d7fe0b32175a267afa8d Mon Sep 17 00:00:00 2001 From: Rusty Russell Date: Sat, 15 Dec 2012 07:27:19 +1030 Subject: [PATCH] tal: fix compilation of speed benchmark. Signed-off-by: Rusty Russell --- ccan/tal/benchmark/Makefile | 4 +++- ccan/tal/benchmark/speed.c | 1 + 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/ccan/tal/benchmark/Makefile b/ccan/tal/benchmark/Makefile index aafe6c7b..f1e8502b 100644 --- a/ccan/tal/benchmark/Makefile +++ b/ccan/tal/benchmark/Makefile @@ -6,11 +6,13 @@ LDLIBS=-lrt all: speed samba-allocs -speed: speed.o tal.o talloc.o time.o list.o take.o +speed: speed.o tal.o talloc.o time.o list.o take.o str.o samba-allocs: samba-allocs.o tal.o talloc.o time.o list.o take.o tal.o: ../tal.c $(CC) $(CFLAGS) -c -o $@ $< +str.o: ../str/str.c + $(CC) $(CFLAGS) -c -o $@ $< talloc.o: ../../talloc/talloc.c $(CC) $(CFLAGS) -c -o $@ $< time.o: ../../time/time.c diff --git a/ccan/tal/benchmark/speed.c b/ccan/tal/benchmark/speed.c index 0b4815fe..0b5b246f 100644 --- a/ccan/tal/benchmark/speed.c +++ b/ccan/tal/benchmark/speed.c @@ -24,6 +24,7 @@ */ #include #include +#include #include #include #include -- 2.39.2