RPS: Try to fix building error
authorJulius Bünger <buenger@mytum.de>
Thu, 18 Oct 2018 15:38:43 +0000 (17:38 +0200)
committerJulius Bünger <buenger@mytum.de>
Sat, 20 Oct 2018 12:47:30 +0000 (14:47 +0200)
src/rps/Makefile.am
src/rps/rps-test_util.c
src/rps/rps-test_util.h

index 8d2ddf7d7e57178416ce5081c2880abbd757d37c..e6b74c9a2166ab7d8d68669be2b7ff865afd173d 100644 (file)
@@ -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 = \
index 271c96648ac3bcc4986f1b7a5e2410fb1fa8e514..ffd43f6b10d8b548a6d789bf049c1ff1b0915700 100644 (file)
@@ -26,6 +26,7 @@
 
 #include "platform.h"
 #include "gnunet_util_lib.h"
+#include "rps-test_util.h"
 
 #include <inttypes.h>
 
index 02b4bb4009813d5f6febbe53cb7d76c2f9fd9f1c..2e656072369b2787befda98f414155cab230c565 100644 (file)
@@ -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);