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

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: better comment 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
« no previous file with comments | « third_party/iccjpeg/README.chromium ('k') | third_party/iccjpeg/iccjpeg.gyp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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
/*
« no previous file with comments | « third_party/iccjpeg/README.chromium ('k') | third_party/iccjpeg/iccjpeg.gyp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698