Index: third_party/libevent/event.c |
=================================================================== |
--- third_party/libevent/event.c (revision 25977) |
+++ third_party/libevent/event.c (working copy) |
@@ -108,7 +108,9 @@ |
struct event_base *current_base = NULL; |
extern struct event_base *evsignal_base; |
static int use_monotonic; |
+#if defined(HAVE_CLOCK_GETTIME) && defined(CLOCK_MONOTONIC) |
static int use_monotonic_initialized; |
+#endif |
/* Prototypes */ |
static void event_queue_insert(struct event_base *, struct event *, int); |