aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--include/locale.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/locale.h b/include/locale.h
index 7757d0216b97..9587815767ab 100644
--- a/include/locale.h
+++ b/include/locale.h
@@ -75,7 +75,9 @@ struct lconv {
__BEGIN_DECLS
struct lconv *localeconv __P((void));
char *setlocale __P((int, const char *));
+#if !defined(_ANSI_SOURCE) && !defined(_POSIX_SOURCE)
int collate_range_cmp __P((int, int));
+#endif /* neither ANSI nor POSIX */
__END_DECLS
#endif /* _LOCALE_H_ */