From 061e86b157b1f13062ef879656a1c2678a8b6f35 Mon Sep 17 00:00:00 2001 From: Julius Bünger Date: Thu, 18 Oct 2018 17:38:43 +0200 Subject: RPS: Try to fix building error --- src/rps/Makefile.am | 4 ++-- src/rps/rps-test_util.c | 1 + src/rps/rps-test_util.h | 2 ++ 3 files changed, 5 insertions(+), 2 deletions(-) (limited to 'src/rps') diff --git a/src/rps/Makefile.am b/src/rps/Makefile.am index 8d2ddf7d7..e6b74c9a2 100644 --- a/src/rps/Makefile.am +++ b/src/rps/Makefile.am @@ -20,8 +20,6 @@ pkgcfg_DATA = \ bin_PROGRAMS = gnunet-rps gnunet_rps_SOURCES = \ - gnunet-service-rps_sampler_elem.h gnunet-service-rps_sampler_elem.c \ - rps-sampler_common.h rps-sampler_common.c \ gnunet-rps.c gnunet_rps_LDADD = \ @@ -32,6 +30,8 @@ gnunet_rps_LDADD = \ lib_LTLIBRARIES = libgnunetrps.la libgnunetrps_la_SOURCES = \ + rps-test_util.h rps-test_util.c \ + rps-sampler_common.h rps-sampler_common.c \ rps-sampler_client.h rps-sampler_client.c \ rps_api.c rps.h libgnunetrps_la_LIBADD = \ diff --git a/src/rps/rps-test_util.c b/src/rps/rps-test_util.c index 271c96648..ffd43f6b1 100644 --- a/src/rps/rps-test_util.c +++ b/src/rps/rps-test_util.c @@ -26,6 +26,7 @@ #include "platform.h" #include "gnunet_util_lib.h" +#include "rps-test_util.h" #include diff --git a/src/rps/rps-test_util.h b/src/rps/rps-test_util.h index 02b4bb400..2e6560723 100644 --- a/src/rps/rps-test_util.h +++ b/src/rps/rps-test_util.h @@ -26,6 +26,8 @@ #ifndef RPS_TEST_UTIL_H #define RPS_TEST_UTIL_H +#define TO_FILE 1 + void to_file_ (const char *file_name, char *line); -- cgit v1.2.3