summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/sort.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/sort.c b/src/sort.c
index 0b0aa9a03..1ce7508a6 100644
--- a/src/sort.c
+++ b/src/sort.c
@@ -535,7 +535,7 @@ zaptemp (const char *name)
}
}
-#ifdef ENABLE_NLS
+#if defined ENABLE_NLS && HAVE_NL_LANGINFO
static int
struct_month_cmp (const void *m1, const void *m2)
@@ -544,7 +544,7 @@ struct_month_cmp (const void *m1, const void *m2)
((const struct month *) m2)->name);
}
-#endif /* NLS */
+#endif
/* Initialize the character class tables. */