Browse Source

Fix mac compile

svn:r1782
Nick Mathewson 20 years ago
parent
commit
08ac3c7190
1 changed files with 3 additions and 0 deletions
  1. 3 0
      src/common/fakepoll.c

+ 3 - 0
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)