$OpenBSD: patch-third_party_iccjpeg_iccjpeg_h,v 1.2 2011/10/27 07:59:09 robert Exp $
--- third_party/iccjpeg/iccjpeg.h.orig	Fri Oct 21 10:29:58 2011
+++ third_party/iccjpeg/iccjpeg.h	Wed Oct 26 13:43:17 2011
@@ -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
 
 
 /*
