Imported from libpng-1.4.0beta3.tar
diff --git a/pngrutil.c b/pngrutil.c
index 793d6a3..69fcfe9 100644
--- a/pngrutil.c
+++ b/pngrutil.c
@@ -37,6 +37,7 @@
    return (i);
 }
 
+#if defined(PNG_GET_INT_32_SUPPORTED)
 /* Grab a signed 32-bit integer from a buffer in big-endian format.  The
  * data is stored in the PNG file in two's complement format, and it is
  * assumed that the machine format for signed integers is the same. */
@@ -50,6 +51,7 @@
 
    return (i);
 }
+#endif
 
 /* Grab an unsigned 16-bit integer from a buffer in big-endian format. */
 png_uint_16 PNGAPI