summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorJulius Bünger <buenger@mytum.de>2018-10-18 17:38:43 +0200
committerJulius Bünger <buenger@mytum.de>2018-10-20 14:47:30 +0200
commit061e86b157b1f13062ef879656a1c2678a8b6f35 (patch)
tree73c65526ed9216afa91bbed109d0c775ac57e807 /src
parent6db3d32691dfeaae7d8591eb7ddf6217a01e7077 (diff)
RPS: Try to fix building error
Diffstat (limited to 'src')
-rw-r--r--src/rps/Makefile.am4
-rw-r--r--src/rps/rps-test_util.c1
-rw-r--r--src/rps/rps-test_util.h2
3 files changed, 5 insertions, 2 deletions
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 <inttypes.h>
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);