#include <lib/version.h>
#include "getopt.h"
-#include "thread.h"
+#include "frrevent.h"
#include "prefix.h"
#include "linklist.h"
#include "if.h"
struct option longopts[] = {{0}};
/* Master of threads. */
-struct thread_master *master;
+struct event_loop *master;
/* SIGHUP handler. */
static void sighup(void)