aboutsummaryrefslogtreecommitdiff
path: root/src/tools
diff options
context:
space:
mode:
Diffstat (limited to 'src/tools')
-rw-r--r--src/tools/Makefile.am2
-rw-r--r--src/tools/tor-gencert.c8
-rw-r--r--src/tools/tor-resolve.c6
3 files changed, 9 insertions, 7 deletions
diff --git a/src/tools/Makefile.am b/src/tools/Makefile.am
index 7d7f2c7b8f..8861ec84af 100644
--- a/src/tools/Makefile.am
+++ b/src/tools/Makefile.am
@@ -1,3 +1,5 @@
+CPPFLAGS += -I../common
+
bin_PROGRAMS = tor-resolve tor-gencert
tor_resolve_SOURCES = tor-resolve.c
diff --git a/src/tools/tor-gencert.c b/src/tools/tor-gencert.c
index 1dd9c9e59b..abb2ac298a 100644
--- a/src/tools/tor-gencert.c
+++ b/src/tools/tor-gencert.c
@@ -27,10 +27,10 @@
#define CRYPTO_PRIVATE
-#include "../common/compat.h"
-#include "../common/util.h"
-#include "../common/log.h"
-#include "../common/crypto.h"
+#include "compat.h"
+#include "util.h"
+#include "log.h"
+#include "crypto.h"
#define IDENTITY_KEY_BITS 3072
#define SIGNING_KEY_BITS 1024
diff --git a/src/tools/tor-resolve.c b/src/tools/tor-resolve.c
index c23a463ed7..e6561443bf 100644
--- a/src/tools/tor-resolve.c
+++ b/src/tools/tor-resolve.c
@@ -4,9 +4,9 @@
#include "orconfig.h"
-#include "../common/compat.h"
-#include "../common/util.h"
-#include "../common/log.h"
+#include "compat.h"
+#include "util.h"
+#include "log.h"
#include <stdio.h>
#include <stdlib.h>