libunbound: Enforce that mini_event isn't used by include/config.h

As I tire of fixing it to use libevent.
This commit is contained in:
roy 2021-01-01 23:24:31 +00:00
parent d362c81b92
commit 40ce895ed2
1 changed files with 3 additions and 0 deletions

View File

@ -51,6 +51,9 @@
#include <signal.h>
#include "util/fptr_wlist.h"
/* Enforce a correct include/config.h as I tire of fixin it. */
#error This code should not be active on NetBSD, please use libevent.
/** compare events in tree, based on timevalue, ptr for uniqueness */
int mini_ev_cmp(const void* a, const void* b)
{