[Mono-bugs] [Bug 60752][Maj] Changed - jpegcodec.c fails to compile because of redifinition of HAVE_STDLIB_H

bugzilla-daemon@bugzilla.ximian.com bugzilla-daemon@bugzilla.ximian.com
Fri, 25 Jun 2004 11:50:31 -0400 (EDT)


Please do not reply to this email- if you want to comment on the bug, go to the
URL shown below and enter your comments there.

Changed by recht@netbsd.org.

http://bugzilla.ximian.com/show_bug.cgi?id=60752

--- shadow/60752	2004-06-25 11:49:53.000000000 -0400
+++ shadow/60752.tmp.10206	2004-06-25 11:50:31.000000000 -0400
@@ -34,6 +34,11 @@
 After config.h gets included (which defines HAVE_STDLIB_H)jpegcodec.c 
 includes jpeglib.h. jpeglib.h includes jconfig.h which also defines 
 HAVE_STDLIB_H. This breaks the compile.
 This is with jpegsrc.v6b and libgdiplus 0.9.
 A work-around is to #undef HAVE_STDLIB_H before including jpeglib.h -- this 
 is what the attached patch does.
+
+------- Additional Comments From recht@netbsd.org  2004-06-25 11:50 -------
+Created an attachment (id=8354)
+#undef HAVE_STDLIB_H before inclunding jpeglib.h
+