svn commit: r309331 - head/usr.bin/locale
Eric van Gyzen
vangyzen at FreeBSD.org
Wed Nov 30 18:34:42 UTC 2016
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>
More information about the svn-src-all
mailing list