* src/sfntfont.c (sfnt_close_tables, sfnt_open_tables)
[!HAVE_MMAP]: Do not declare rc for munmap or mmap.
static void
sfnt_close_tables (struct sfnt_font_tables *tables)
{
+#ifdef HAVE_MMAP
int rc;
+#endif /* HAVE_MMAP */
xfree (tables->cmap);
xfree (tables->hhea);
{
struct sfnt_font_tables *tables;
struct sfnt_offset_subtable *subtable;
- int fd, i, rc;
+ int fd, i;
+#ifdef HAVE_MMAP
+ int rc;
+#endif /* HAVE_MMAP */
struct sfnt_cmap_encoding_subtable *subtables;
struct sfnt_cmap_encoding_subtable_data **data;
struct sfnt_cmap_format_14 *format14;