psp-gcc -I. -IC:/pspsdk/psp/sdk/include -O2 -G0 -Wall -D_PSP_FW_VERSION=500 -c -o graphics.o graphics.c
graphics.c: In function 'loadImage':
graphics.c (79) : error: 'png_infopp_NULL' undeclared (first use in this function)
graphics.c (79) : error: (Each undeclared identifier is reported only once
graphics.c (79) : error: for each function it appears in.)
graphics.c (85) : error: 'int_p_NULL' undeclared (first use in this function)
graphics.c (118) : error: 'png_bytep_NULL' undeclared (first use in this function)
graphics.c: In function 'saveImage':
graphics.c (359) : error: 'PNG_COLOR_TYPE_RGBA' undeclared (first use in this function)
C:\pspsdk\bin\make: *** [graphics.o] Error 1
problem with graphics.c
problem with graphics.c
can someone post a link to a working graphics.c, my one is compiling with these errors: