Author: vangyzen
Date: Wed Nov 30 18:34:40 2016
New Revision: 309331
URL: https://svnweb.freebsd.org/changeset/base/309331

Log:
  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

Modified:
  head/usr.bin/locale/locale.c

Modified: head/usr.bin/locale/locale.c
==============================================================================
--- head/usr.bin/locale/locale.c        Wed Nov 30 18:26:22 2016        
(r309330)
+++ head/usr.bin/locale/locale.c        Wed Nov 30 18:34:40 2016        
(r309331)
@@ -40,6 +40,7 @@
 
 #include <dirent.h>
 #include <err.h>
+#include <limits.h>
 #include <locale.h>
 #include <langinfo.h>
 #include <stdio.h>
_______________________________________________
[email protected] mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to "[email protected]"

Reply via email to