5414a7c
diff -up thunderbird-3.0/mozilla/modules/libpr0n/build/nsImageModule.cpp.setjmp thunderbird-3.0/mozilla/modules/libpr0n/build/nsImageModule.cpp
5414a7c
--- thunderbird-3.0/mozilla/modules/libpr0n/build/nsImageModule.cpp.setjmp	2009-07-31 13:22:44.000000000 +0200
5414a7c
+++ thunderbird-3.0/mozilla/modules/libpr0n/build/nsImageModule.cpp	2009-07-31 13:34:42.000000000 +0200
5414a7c
@@ -59,6 +59,16 @@
5414a7c
 #include "imgRequestProxy.h"
5414a7c
 #include "imgTools.h"
5414a7c
 
5414a7c
+#ifdef IMG_BUILD_ENCODER_png
5414a7c
+// png
5414a7c
+#include "nsPNGEncoder.h"
5414a7c
+#endif
5414a7c
+#ifdef IMG_BUILD_ENCODER_jpeg
5414a7c
+// jpeg
5414a7c
+#include "nsJPEGEncoder.h"
5414a7c
+#endif
5414a7c
+
5414a7c
+
5414a7c
 #ifdef IMG_BUILD_DECODER_gif
5414a7c
 // gif
5414a7c
 #include "nsGIFDecoder2.h"
5414a7c
@@ -85,17 +95,6 @@
5414a7c
 #include "nsXBMDecoder.h"
5414a7c
 #endif
5414a7c
 
5414a7c
-
5414a7c
-#ifdef IMG_BUILD_ENCODER_png
5414a7c
-// png
5414a7c
-#include "nsPNGEncoder.h"
5414a7c
-#endif
5414a7c
-#ifdef IMG_BUILD_ENCODER_jpeg
5414a7c
-// jpeg
5414a7c
-#include "nsJPEGEncoder.h"
5414a7c
-#endif
5414a7c
-
5414a7c
-
5414a7c
 // objects that just require generic constructors
5414a7c
 
5414a7c
 NS_GENERIC_FACTORY_CONSTRUCTOR(imgContainer)