From dc521a5840ab4f32b33ec5ec79e44b6e6029c3d3 Mon Sep 17 00:00:00 2001 From: Eric van Gyzen Date: Wed, 30 Nov 2016 18:34:40 +0000 Subject: [PATCH] Include limits.h for CHAR_MAX This was needed on stable/10. Apparently, sys/param.h supplies CHAR_MAX on head. Include limits.h anyway, for consistency, and because C says so. Sponsored by: Dell EMC --- usr.bin/locale/locale.c | 1 + 1 file changed, 1 insertion(+) diff --git a/usr.bin/locale/locale.c b/usr.bin/locale/locale.c index 2c3e61eb529..de31eac9497 100644 --- a/usr.bin/locale/locale.c +++ b/usr.bin/locale/locale.c @@ -40,6 +40,7 @@ #include #include +#include #include #include #include