summaryrefslogtreecommitdiff
path: root/src/tools
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2007-08-08 05:50:31 +0000
committerNick Mathewson <nickm@torproject.org>2007-08-08 05:50:31 +0000
commit3fc04529d4178f9331f9fd22ff077501bddf251e (patch)
treed7fff8d4caf0ed0260fb1246cc884a128f6514a2 /src/tools
parent50f5f6367854df38c7fa995aa778421b276177c1 (diff)
downloadtor-3fc04529d4178f9331f9fd22ff077501bddf251e.tar.gz
tor-3fc04529d4178f9331f9fd22ff077501bddf251e.zip
r14093@catbus: nickm | 2007-08-08 01:49:54 -0400
Include fewer redundant headers; use the compiler search paths better. svn:r11060
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>