Add missing thread imports so that evport.c will build 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.