mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2024-11-24 20:33:31 +01:00
Add a missing include to timers, to make windows happier
This commit is contained in:
parent
6ac64e16ed
commit
9d5b815dca
@ -39,6 +39,11 @@
|
|||||||
#include "lib/malloc/util_malloc.h"
|
#include "lib/malloc/util_malloc.h"
|
||||||
#include "lib/time/compat_time.h"
|
#include "lib/time/compat_time.h"
|
||||||
|
|
||||||
|
#ifdef _WIN32
|
||||||
|
// For struct timeval.
|
||||||
|
#include <winsock2.h>
|
||||||
|
#endif
|
||||||
|
|
||||||
struct timeout_cb {
|
struct timeout_cb {
|
||||||
timer_cb_fn_t cb;
|
timer_cb_fn_t cb;
|
||||||
void *arg;
|
void *arg;
|
||||||
|
Loading…
Reference in New Issue
Block a user