cros: Remove hard coded top row key mode for kiosk app.
[chromium-blink-merge.git] / third_party / libevent / chromium.patch
blob31bc327c4dc24eef0c6f37bd15168f7eb0da09d8
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
5 @@ -134,7 +134,7 @@
6 typedef ev_uint8_t u_char;
7 typedef unsigned int uint;
8 #endif
9 -#include <event.h>
10 +#include "event.h"
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" {
19 #endif
21 /* For integer types. */
22 -#include <evutil.h>
23 +#include "evutil.h"
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
28 new file mode 100644
29 index 0000000..78a4727
30 --- /dev/null
31 +++ b/third_party/libevent/event-config.h
32 @@ -0,0 +1,16 @@
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"
46 +#else
47 +#error generate event-config.h for your platform
48 +#endif
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
53 @@ -159,7 +159,7 @@
54 extern "C" {
55 #endif
57 -#include <event-config.h>
58 +#include "event-config.h"
59 #ifdef _EVENT_HAVE_SYS_TYPES_H
60 #include <sys/types.h>
61 #endif
62 @@ -172,7 +172,7 @@ extern "C" {
63 #include <stdarg.h>
65 /* For int types. */
66 -#include <evutil.h>
67 +#include "evutil.h"
69 #ifdef WIN32
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
75 @@ -38,7 +38,7 @@
76 extern "C" {
77 #endif
79 -#include <event-config.h>
80 +#include "event-config.h"
81 #ifdef _EVENT_HAVE_SYS_TIME_H
82 #include <sys/time.h>
83 #endif