Parcourir la source

Fix mac compile

svn:r1782
Nick Mathewson il y a 21 ans
Parent
commit
08ac3c7190
1 fichiers modifiés avec 3 ajouts et 0 suppressions
  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)