When I made the changes to release the base lock around the call to
port_getn(), I didn't add evthread-internal.h to the includes in
evport.c would build, and I didn't catch it since I haven't got a
Solaris host to build on. Tao Feng just reported this on
Libevent-users.
#include <time.h>
#include <unistd.h>
+#include <event2/thread.h>
+
+#include "evthread-internal.h"
#include "event-internal.h"
#include "log-internal.h"
#include "evsignal-internal.h"