summaryrefslogtreecommitdiff
path: root/mkfontscale.c
diff options
context:
space:
mode:
Diffstat (limited to 'mkfontscale.c')
-rw-r--r--mkfontscale.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/mkfontscale.c b/mkfontscale.c
index b27bb6a..5cf5cb9 100644
--- a/mkfontscale.c
+++ b/mkfontscale.c
@@ -847,12 +847,16 @@ doDirectory(const char *dirname_given, int numEncodings, ListPtr encodingsToDo)
tprio = 0;
} else
#endif
+#ifdef S_ISLNK
{
if (lstat(filename, &f_stat))
goto done;
if (S_ISLNK(f_stat.st_mode))
tprio = 0;
}
+#else
+ ;
+#endif
if(doBitmaps)
rc = bitmapIdentify(filename, &xlfd_name);
else