Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Compile fix for libpng versions < 1.6
  • Loading branch information
flibitijibibo committed Nov 20, 2017
1 parent cb94a2c commit bdabef4
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions IMG_png.c
Expand Up @@ -78,6 +78,9 @@ typedef png_bytep png_const_bytep;
#if (PNG_LIBPNG_VER_MINOR < 6)
typedef png_structp png_const_structrp;
typedef png_infop png_const_inforp;
typedef png_structp png_structrp;
typedef png_infop png_inforp;
typedef const png_color * png_const_colorp;
#endif
#endif

Expand Down

0 comments on commit bdabef4

Please sign in to comment.