--- mozilla-1.9.2.orig/gfx/qcms/iccread.c	2010-04-02 18:02:27.000000000 +0200
+++ mozilla-1.9.2/gfx/qcms/iccread.c	2010-04-30 14:00:52.430967966 +0200
@@ -23,6 +23,7 @@
 #include <math.h>
 #include <assert.h>
 #include <stdlib.h>
+#include <stdio.h>
 #include "qcmsint.h"
 
 //XXX: use a better typename
@@ -771,7 +772,6 @@ void qcms_profile_release(qcms_profile *
 	qcms_profile_fini(profile);
 }
 
-#include <stdio.h>
 qcms_profile* qcms_profile_from_file(FILE *file)
 {
 	uint32_t length, remaining_length;
