summaryrefslogtreecommitdiff
path: root/pango/pangowin32-fontmap.c
diff options
context:
space:
mode:
authorChun-wei Fan <fanchunwei@src.gnome.org>2012-09-14 18:31:27 +0800
committerChun-wei Fan <fanchunwei@src.gnome.org>2012-09-14 18:31:27 +0800
commitfd012e1efa5e0932632780c776cceafd74fd4a9f (patch)
tree7a89403dfb46f4136d6eae4ab229fa5cca5c88db /pango/pangowin32-fontmap.c
parent2abcf587afe6be5f4a3b09b8da7f30e5b86042d0 (diff)
downloadpango-fd012e1efa5e0932632780c776cceafd74fd4a9f.tar.gz
pango/pangowin32-fontmap.c: Fix build
-Include glib/gstdio.h for g_fopen -Make up for a missed #endif -correct an internal function name, pango_load_aliases to load_aliases
Diffstat (limited to 'pango/pangowin32-fontmap.c')
-rw-r--r--pango/pangowin32-fontmap.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/pango/pangowin32-fontmap.c b/pango/pangowin32-fontmap.c
index 61e1460f..4622a8aa 100644
--- a/pango/pangowin32-fontmap.c
+++ b/pango/pangowin32-fontmap.c
@@ -29,6 +29,7 @@
#include <stdlib.h>
#include <string.h>
#include <errno.h>
+#include <glib/gstdio.h>
#include "pango-fontmap.h"
#include "pango-impl-utils.h"
@@ -478,6 +479,7 @@ read_builtin_aliases (void)
g_string_free (line_buffer, TRUE);
}
+#endif
static void
@@ -517,7 +519,7 @@ read_alias_file (const char *filename)
}
static void
-pango_load_aliases (void)
+load_aliases (void)
{
char *filename;
const char *home;