aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2004-05-04 18:17:28 +0000
committerNick Mathewson <nickm@torproject.org>2004-05-04 18:17:28 +0000
commit08ac3c7190a67cfbd33c52aa619630410ac451dd (patch)
treeae808c847878ede2d28213ad96e6ad8e84091166 /src
parent6b112c9f2d30b3bbe5b0dd82ff270b885395b215 (diff)
downloadtor-08ac3c7190a67cfbd33c52aa619630410ac451dd.tar.gz
tor-08ac3c7190a67cfbd33c52aa619630410ac451dd.zip
Fix mac compile
svn:r1782
Diffstat (limited to 'src')
-rw-r--r--src/common/fakepoll.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/common/fakepoll.c b/src/common/fakepoll.c
index e99065bfc8..1fd380fd5c 100644
--- a/src/common/fakepoll.c
+++ b/src/common/fakepoll.c
@@ -32,7 +32,10 @@
#define FD_SETSIZE MAXCONNECTIONS
#endif
+#include <assert.h>
+#include <stdlib.h>
#include "util.h"
+#include "log.h"
int
tor_poll(struct pollfd *ufds, unsigned int nfds, int timeout)