summaryrefslogtreecommitdiff
path: root/src/util
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2015-07-15 11:40:51 +0200
committerChristian Grothoff <christian@grothoff.org>2015-07-15 11:40:51 +0200
commit3eddd802dc69ecb22b077a9c226ef0fb6cc09715 (patch)
treea7601bdd36ceb0f2faed48564222939962f89541 /src/util
parent6f6566554b3f464c7196636d8f1b97512a5e7e53 (diff)
downloadexchange-3eddd802dc69ecb22b077a9c226ef0fb6cc09715.tar.gz
exchange-3eddd802dc69ecb22b077a9c226ef0fb6cc09715.tar.bz2
exchange-3eddd802dc69ecb22b077a9c226ef0fb6cc09715.zip
-fix ftbfs in wallet-only mode
Diffstat (limited to 'src/util')
-rw-r--r--src/util/Makefile.am3
-rw-r--r--src/util/amount.c5
-rw-r--r--src/util/crypto.c5
-rw-r--r--src/util/util.c6
4 files changed, 8 insertions, 11 deletions
diff --git a/src/util/Makefile.am b/src/util/Makefile.am
index 0c44570ed..eaf3a4827 100644
--- a/src/util/Makefile.am
+++ b/src/util/Makefile.am
@@ -16,8 +16,7 @@ endif
libtalerutil_wallet_la_SOURCES = \
amount.c \
- crypto.c \
- util.c
+ crypto.c
libtalerutil_wallet_la_LIBADD = \
-lgnunetutil_taler_wallet \
diff --git a/src/util/amount.c b/src/util/amount.c
index bc8ea24ba..424959bcc 100644
--- a/src/util/amount.c
+++ b/src/util/amount.c
@@ -22,7 +22,12 @@
* @author Christian Grothoff
*/
#include "platform.h"
+#if HAVE_GNUNET_GNUNET_UTIL_LIB_H
#include "taler_util.h"
+#endif
+#if HAVE_GNUNET_GNUNET_UTIL_TALER_WALLET_LIB_H
+#include "taler_util_wallet.h"
+#endif
#include <gcrypt.h>
diff --git a/src/util/crypto.c b/src/util/crypto.c
index 590ed428b..b803b960a 100644
--- a/src/util/crypto.c
+++ b/src/util/crypto.c
@@ -22,13 +22,12 @@
* @author Christian Grothoff
*/
#include "platform.h"
-#include "taler_util.h"
#if HAVE_GNUNET_GNUNET_UTIL_TALER_WALLET_LIB_H
-#include <gnunet/gnunet_util_taler_wallet_lib.h>
+#include "taler_util_wallet.h"
#endif
#if HAVE_GNUNET_GNUNET_UTIL_LIB_H
-#include <gnunet/gnunet_util_lib.h>
+#include "taler_util.h"
#endif
#include <gcrypt.h>
diff --git a/src/util/util.c b/src/util/util.c
index 1d8b09c4d..f45598b0c 100644
--- a/src/util/util.c
+++ b/src/util/util.c
@@ -24,12 +24,6 @@
#include "platform.h"
#include "taler_util.h"
-#if HAVE_GNUNET_GNUNET_UTIL_TALER_WALLET_LIB_H
-#include <gnunet/gnunet_util_taler_wallet_lib.h>
-#endif
-#if HAVE_GNUNET_GNUNET_UTIL_LIB_H
-#include <gnunet/gnunet_util_lib.h>
-#endif
#include <gcrypt.h>