summaryrefslogtreecommitdiff
path: root/src/lib/evloop
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2018-11-06 20:27:43 -0500
committerNick Mathewson <nickm@torproject.org>2018-11-14 16:07:35 -0500
commite429e31ad1c3000d814f3172fcd3f7c433ee3219 (patch)
tree9bcd3f344b7cb4e2e6e38155f5a51e70ac497ae8 /src/lib/evloop
parentc0a7527eb8590b39f11dd8b0ae18794dfc63a934 (diff)
downloadtor-e429e31ad1c3000d814f3172fcd3f7c433ee3219.tar.gz
tor-e429e31ad1c3000d814f3172fcd3f7c433ee3219.zip
Normalize .may_include to always have paths, and paths to include
Diffstat (limited to 'src/lib/evloop')
-rw-r--r--src/lib/evloop/.may_include4
-rw-r--r--src/lib/evloop/timers.c3
-rw-r--r--src/lib/evloop/workqueue.c2
3 files changed, 5 insertions, 4 deletions
diff --git a/src/lib/evloop/.may_include b/src/lib/evloop/.may_include
index 30af508914..273de7bb94 100644
--- a/src/lib/evloop/.may_include
+++ b/src/lib/evloop/.may_include
@@ -12,5 +12,5 @@ lib/testsupport/*.h
lib/thread/*.h
lib/time/*.h
-src/ext/timeouts/timeout.c
-tor_queue.h \ No newline at end of file
+ext/timeouts/timeout.c
+ext/tor_queue.h \ No newline at end of file
diff --git a/src/lib/evloop/timers.c b/src/lib/evloop/timers.c
index 3603bf1a7d..6743b6af51 100644
--- a/src/lib/evloop/timers.c
+++ b/src/lib/evloop/timers.c
@@ -80,7 +80,8 @@ struct timeout_cb {
* use 32-bit math. */
#define WHEEL_BIT 5
#endif
-#include "src/ext/timeouts/timeout.c"
+
+#include "ext/timeouts/timeout.c"
static struct timeouts *global_timeouts = NULL;
static struct mainloop_event_t *global_timer_event = NULL;
diff --git a/src/lib/evloop/workqueue.c b/src/lib/evloop/workqueue.c
index 5471f87b04..b36a02da5e 100644
--- a/src/lib/evloop/workqueue.c
+++ b/src/lib/evloop/workqueue.c
@@ -36,7 +36,7 @@
#include "lib/net/socket.h"
#include "lib/thread/threads.h"
-#include "tor_queue.h"
+#include "ext/tor_queue.h"
#include <event2/event.h>
#include <string.h>