Add a missing include to timers, to make windows happier

This commit is contained in:
Nick Mathewson 2018-06-29 12:59:43 -04:00
parent 6ac64e16ed
commit 9d5b815dca

View File

@ -39,6 +39,11 @@
#include "lib/malloc/util_malloc.h"
#include "lib/time/compat_time.h"
#ifdef _WIN32
// For struct timeval.
#include <winsock2.h>
#endif
struct timeout_cb {
timer_cb_fn_t cb;
void *arg;