summaryrefslogtreecommitdiff
path: root/evport.c
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2009-12-29 14:38:35 -0500
committerNick Mathewson <nickm@torproject.org>2009-12-29 14:38:35 -0500
commit8111fac0650c6e4dbb296dfc8f63453e4532f30b (patch)
tree90f39123af1de8f5bf845a635af26140cad0da08 /evport.c
parent5a43df82b89f5f396d845ced49b9f3f65dee52ab (diff)
downloadlibevent-8111fac0650c6e4dbb296dfc8f63453e4532f30b.tar.gz
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.
Diffstat (limited to 'evport.c')
-rw-r--r--evport.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/evport.c b/evport.c
index 1baac621..a203d8ae 100644
--- a/evport.c
+++ b/evport.c
@@ -64,6 +64,9 @@
#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"