diff options
author | John Mark Bell <jmb@netsurf-browser.org> | 2009-03-27 01:58:55 +0000 |
---|---|---|
committer | John Mark Bell <jmb@netsurf-browser.org> | 2009-03-27 01:58:55 +0000 |
commit | d4bdb0882a1ee2f58f81a5646bd0802fb5589940 (patch) | |
tree | d204d8ea07695299883b1fd8d10b499400a30fa3 /image/png.c | |
parent | a95145d806187edf14cf47dfbb266675e7556c0e (diff) | |
download | netsurf-d4bdb0882a1ee2f58f81a5646bd0802fb5589940.tar.gz netsurf-d4bdb0882a1ee2f58f81a5646bd0802fb5589940.tar.bz2 |
Don't include libmng.h from mng.h, as it causes jconfig.h to be seen, which in turn causes HAVE_STDLIB_H to be defined, which clashes with the definition of hpdf_config.h. Quite why the auto-generated configuration header for either jpeglib or libharu needs to be public, I've no idea.
The above change means that the mng_handle field in content_mng_data is a void *.
Fixup the couple of places in mng.c where the mng_handle field needs casting back to its real type. Also take the opportunity to make linewrapping and brace position more consistent.
svn path=/trunk/netsurf/; revision=6918
Diffstat (limited to 'image/png.c')
0 files changed, 0 insertions, 0 deletions