Author: spouliot
Date: 2007-04-26 09:10:14 -0400 (Thu, 26 Apr 2007)
New Revision: 76313

Modified:
   trunk/libgdiplus/src/ChangeLog
   trunk/libgdiplus/src/gifcodec.c
   trunk/libgdiplus/src/jpegcodec.c
   trunk/libgdiplus/src/tiffcodec.c
Log:
2007-04-26  Sebastien Pouliot  <[EMAIL PROTECTED]> 

        * gifcodec.c: Add image.h so we can build (stubs) without libgif
        * jpegcodec.c: Add image.h and dtream.h so we can build (stubs) 
        without libjpeg and move up "extern GUID GdipEncoderQuality".
        * tiffcodec.c: Add image.h so we can build (stubs) without libtiff



Modified: trunk/libgdiplus/src/ChangeLog
===================================================================
--- trunk/libgdiplus/src/ChangeLog      2007-04-26 11:54:06 UTC (rev 76312)
+++ trunk/libgdiplus/src/ChangeLog      2007-04-26 13:10:14 UTC (rev 76313)
@@ -1,3 +1,10 @@
+2007-04-26  Sebastien Pouliot  <[EMAIL PROTECTED]> 
+
+       * gifcodec.c: Add image.h so we can build (stubs) without libgif
+       * jpegcodec.c: Add image.h and dtream.h so we can build (stubs) 
+       without libjpeg and move up "extern GUID GdipEncoderQuality".
+       * tiffcodec.c: Add image.h so we can build (stubs) without libtiff
+
 2007-04-26  Sebastien Pouliot  <[EMAIL PROTECTED]>
 
        * emfcodec.h: Include metafile-private.h

Modified: trunk/libgdiplus/src/gifcodec.c
===================================================================
--- trunk/libgdiplus/src/gifcodec.c     2007-04-26 11:54:06 UTC (rev 76312)
+++ trunk/libgdiplus/src/gifcodec.c     2007-04-26 13:10:14 UTC (rev 76313)
@@ -937,6 +937,8 @@
 
 /* No libgif */
 
+#include "image.h"
+
 ImageCodecInfo *
 gdip_getcodecinfo_gif ()
 {

Modified: trunk/libgdiplus/src/jpegcodec.c
===================================================================
--- trunk/libgdiplus/src/jpegcodec.c    2007-04-26 11:54:06 UTC (rev 76312)
+++ trunk/libgdiplus/src/jpegcodec.c    2007-04-26 13:10:14 UTC (rev 76313)
@@ -31,6 +31,7 @@
 #include "gdiplus-private.h"
 
 GUID gdip_jpg_image_format_guid = {0xb96b3caeU, 0x0728U, 0x11d3U, {0x9d, 0x7b, 
0x00, 0x00, 0xf8, 0x1e, 0xf3, 0x2e}};
+extern GUID GdipEncoderQuality;
 
 #ifdef HAVE_LIBJPEG
 
@@ -49,7 +50,6 @@
 #include "jpegcodec.h"
 
 /* Codecinfo related data*/
-extern GUID GdipEncoderQuality;
 static ImageCodecInfo jpeg_codec;
 static const WCHAR jpeg_codecname[] = {'B', 'u', 'i','l', 't', '-','i', 'n', ' 
', 'J', 'P', 'E', 'G', 0}; /* Built-in JPEG */
 static const WCHAR jpeg_extension[] = {'*', '.', 'J', 'P','G', ';','*', '.', 
'J','P', 'E', 'G', ';', '*',
@@ -828,6 +828,9 @@
 
 /* No libjpeg */
 
+#include "image.h"
+#include "dstream.h"
+
 ImageCodecInfo *
 gdip_getcodecinfo_jpeg ()
 {

Modified: trunk/libgdiplus/src/tiffcodec.c
===================================================================
--- trunk/libgdiplus/src/tiffcodec.c    2007-04-26 11:54:06 UTC (rev 76312)
+++ trunk/libgdiplus/src/tiffcodec.c    2007-04-26 13:10:14 UTC (rev 76313)
@@ -1291,6 +1291,8 @@
 
 /* no libtiff */
 
+#include "image.h"
+
 ImageCodecInfo *
 gdip_getcodecinfo_tiff ()
 {

_______________________________________________
Mono-patches maillist  -  [email protected]
http://lists.ximian.com/mailman/listinfo/mono-patches

Reply via email to