1 diff --git a/third_party/libevent/evdns.c b/third_party/libevent/evdns.c
2 index f07ecc9..da6ea19 100644
3 --- a/third_party/libevent/evdns.c
4 +++ b/third_party/libevent/evdns.c
6 typedef ev_uint8_t u_char;
7 typedef unsigned int uint;
12 #define u64 ev_uint64_t
13 #define u32 ev_uint32_t
14 diff --git a/third_party/libevent/evdns.h b/third_party/libevent/evdns.h
15 index 1eb5c38..fca4ac3 100644
16 --- a/third_party/libevent/evdns.h
17 +++ b/third_party/libevent/evdns.h
18 @@ -165,7 +165,7 @@ extern "C" {
21 /* For integer types. */
25 /** Error codes 0-5 are as described in RFC 1035. */
26 #define DNS_ERR_NONE 0
27 diff --git a/third_party/libevent/event-config.h b/third_party/libevent/event-config.h
29 index 0000000..78a4727
31 +++ b/third_party/libevent/event-config.h
33 +// Copyright (c) 2009 The Chromium Authors. All rights reserved.
34 +// Use of this source code is governed by a BSD-style license that can be
35 +// found in the LICENSE file.
37 +// This file is Chromium-specific, and brings in the appropriate
38 +// event-config.h depending on your platform.
40 +#if defined(__APPLE__)
41 +#include "mac/event-config.h"
42 +#elif defined(__linux__)
43 +#include "linux/event-config.h"
44 +#elif defined(__FreeBSD__)
45 +#include "freebsd/event-config.h"
47 +#error generate event-config.h for your platform
49 diff --git a/third_party/libevent/event.h b/third_party/libevent/event.h
50 index cfa0fc3..72e9b8b 100644
51 --- a/third_party/libevent/event.h
52 +++ b/third_party/libevent/event.h
57 -#include <event-config.h>
58 +#include "event-config.h"
59 #ifdef _EVENT_HAVE_SYS_TYPES_H
60 #include <sys/types.h>
62 @@ -172,7 +172,7 @@ extern "C" {
70 #define WIN32_LEAN_AND_MEAN
71 diff --git a/third_party/libevent/evutil.h b/third_party/libevent/evutil.h
72 index dcb0013..8b664b9 100644
73 --- a/third_party/libevent/evutil.h
74 +++ b/third_party/libevent/evutil.h
79 -#include <event-config.h>
80 +#include "event-config.h"
81 #ifdef _EVENT_HAVE_SYS_TIME_H