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

Unified Diff: net/base/bzip2_filter.h

Issue 165016: Linux: add GYP flag to build with system libbz2. (Closed)
Patch Set: Created 11 years, 4 months 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
Index: net/base/bzip2_filter.h
diff --git a/net/base/bzip2_filter.h b/net/base/bzip2_filter.h
index e5e88f6116911f2dc538ab99b8b51fdf366a1aac..5a9e7b62b3bc113932d288550c86320cd902d4d0 100644
--- a/net/base/bzip2_filter.h
+++ b/net/base/bzip2_filter.h
@@ -20,9 +20,14 @@
#ifndef NET_BASE_BZIP2_FILTER_H_
#define NET_BASE_BZIP2_FILTER_H_
+#if defined(USE_SYSTEM_LIBBZ2)
+#include <bzlib.h>
+#else
+#include "third_party/bzip2/bzlib.h"
+#endif
+
#include "base/scoped_ptr.h"
#include "net/base/filter.h"
-#include "third_party/bzip2/bzlib.h"
class BZip2Filter : public Filter {
public:

Powered by Google App Engine
This is Rietveld 408576698