Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(14)

Unified Diff: third_party/libevent/chromium.patch

Issue 8438070: libevent: fix include style (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: libevent: fix include style Created 9 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | third_party/libevent/evdns.c » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/libevent/chromium.patch
diff --git a/third_party/libevent/chromium.patch b/third_party/libevent/chromium.patch
index af43e71954dcbbe21e001c9c3fafd0afaf175b8a..51264a5eb642ff57602f9261bbac42f1630edf9c 100644
--- a/third_party/libevent/chromium.patch
+++ b/third_party/libevent/chromium.patch
@@ -1,3 +1,16 @@
+diff --git a/third_party/libevent/evdns.c b/third_party/libevent/evdns.c
+index f07ecc9..da6ea19 100644
+--- a/third_party/libevent/evdns.c
++++ b/third_party/libevent/evdns.c
+@@ -134,7 +134,7 @@
+ typedef ev_uint8_t u_char;
+ typedef unsigned int uint;
+ #endif
+-#include <event.h>
++#include "event.h"
+
+ #define u64 ev_uint64_t
+ #define u32 ev_uint32_t
diff --git a/third_party/libevent/evdns.h b/third_party/libevent/evdns.h
index 1eb5c38..fca4ac3 100644
--- a/third_party/libevent/evdns.h
@@ -40,7 +53,7 @@ index cfa0fc3..72e9b8b 100644
@@ -159,7 +159,7 @@
extern "C" {
#endif
-
+
M-A Ruel 2011/11/07 17:49:50 Oops, it's an error in the presubmit check. :/ Let
M-A Ruel 2011/11/08 16:39:31 The presubmit check was fixed, can you upload agai
-#include <event-config.h>
+#include "event-config.h"
#ifdef _EVENT_HAVE_SYS_TYPES_H
@@ -48,13 +61,26 @@ index cfa0fc3..72e9b8b 100644
#endif
@@ -172,7 +172,7 @@ extern "C" {
#include <stdarg.h>
-
+
/* For int types. */
-#include <evutil.h>
+#include "evutil.h"
-
+
#ifdef WIN32
#define WIN32_LEAN_AND_MEAN
+diff --git a/third_party/libevent/evhttp.h b/third_party/libevent/evhttp.h
+index 99d16a2..30dee8b 100644
+--- a/third_party/libevent/evhttp.h
++++ b/third_party/libevent/evhttp.h
+@@ -27,7 +27,7 @@
+ #ifndef _EVHTTP_H_
+ #define _EVHTTP_H_
+
+-#include <event.h>
++#include "event.h"
+
+ #ifdef __cplusplus
+ extern "C" {
diff --git a/third_party/libevent/evutil.h b/third_party/libevent/evutil.h
index dcb0013..8b664b9 100644
--- a/third_party/libevent/evutil.h
@@ -62,7 +88,7 @@ index dcb0013..8b664b9 100644
@@ -38,7 +38,7 @@
extern "C" {
#endif
-
+
-#include <event-config.h>
+#include "event-config.h"
#ifdef _EVENT_HAVE_SYS_TIME_H
« no previous file with comments | « no previous file | third_party/libevent/evdns.c » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698