Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 30 Nov 2016 18:34:41 +0000 (UTC)
From:      Eric van Gyzen <vangyzen@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r309331 - head/usr.bin/locale
Message-ID:  <201611301834.uAUIYfQs075427@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201611301834.uAUIYfQs075427>