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

Unified Diff: third_party/iccjpeg/iccjpeg.h

Issue 8348003: add support for using system jpeg headers here for OpenBSD (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: add comment on local change and security section Created 9 years, 2 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: third_party/iccjpeg/iccjpeg.h
diff --git a/third_party/iccjpeg/iccjpeg.h b/third_party/iccjpeg/iccjpeg.h
index 5e1888d9ef77549a9a546ed0fb087a2f1029be9d..25dd42e737e6142cb4784f59cd0dfeadd65f2ed4 100644
--- a/third_party/iccjpeg/iccjpeg.h
+++ b/third_party/iccjpeg/iccjpeg.h
@@ -17,7 +17,12 @@
*/
#include <stdio.h> /* needed to define "FILE", "NULL" */
+
+#if defined(USE_SYSTEM_LIBJPEG)
+#include <jpeglib.h>
+#else
#include "jpeglib.h"
+#endif
/*

Powered by Google App Engine
This is Rietveld 408576698