openTRI is a game engine for the PSP, written in pure C. It was an original project by Tomaz, Raphael and InsertWittyName? and was released to public under GPL.
While I was building openTRI in psplibraries I got tfollowing errors:
triImage.c:553:37: error: 'png_infopp_NULL' undeclared (first use in this function)
triImage.c:562:93: error: 'int_p_NULL' undeclared (first use in this function)
triImage.c:655:39: error: 'png_bytep_NULL' undeclared (first use in this function)