summaryrefslogtreecommitdiff
path: root/sysdep/unix
diff options
context:
space:
mode:
Diffstat (limited to 'sysdep/unix')
-rw-r--r--sysdep/unix/alloc.c2
-rw-r--r--sysdep/unix/io-loop.c1
2 files changed, 3 insertions, 0 deletions
diff --git a/sysdep/unix/alloc.c b/sysdep/unix/alloc.c
index 77c504e3..d18f286b 100644
--- a/sysdep/unix/alloc.c
+++ b/sysdep/unix/alloc.c
@@ -8,6 +8,8 @@
#include "nest/bird.h"
#include "lib/resource.h"
+#include "lib/lists.h"
+#include "lib/event.h"
#include "sysdep/unix/io-loop.h"
diff --git a/sysdep/unix/io-loop.c b/sysdep/unix/io-loop.c
index 732ea64d..a9927b39 100644
--- a/sysdep/unix/io-loop.c
+++ b/sysdep/unix/io-loop.c
@@ -340,6 +340,7 @@ birdloop_init(void)
timers_init(&main_birdloop.time, &root_pool);
root_pool.loop = &main_birdloop;
+ main_birdloop.pool = &root_pool;
birdloop_enter_locked(&main_birdloop);
}