diff options
author | Pedro F. Giffuni <pfg@FreeBSD.org> | 2014-05-30 01:09:07 +0000 |
---|---|---|
committer | Pedro F. Giffuni <pfg@FreeBSD.org> | 2014-05-30 01:09:07 +0000 |
commit | 1bb07edbd41ba73e6bfc12bc9f85d92f7c4e312d (patch) | |
tree | 0f28ab48e41df14ffe5cb02b4faa7394ea45e013 /include/xlocale/Makefile | |
parent | 9b17fa8f3c2075bf517bb71c3cbfe11be8bf71f9 (diff) | |
download | src-1bb07edbd41ba73e6bfc12bc9f85d92f7c4e312d.tar.gz src-1bb07edbd41ba73e6bfc12bc9f85d92f7c4e312d.zip |
Fix strcasecmp_l() and strncasecmp_l() POSIX 2008 compliance.
POSIX.1-2008 specifies that those two functions should be declared by
including <strings.h>, not <string.h> (the latter only has strcoll_l()
and strxfrm_l()):
http://pubs.opengroup.org/onlinepubs/9699919799/functions/strcasecmp.html
Obtained from: DragonFlyBSD
Reviewed by: theraven
MFC after: 2 weeks
Notes
Notes:
svn path=/head/; revision=266865
Diffstat (limited to 'include/xlocale/Makefile')
-rw-r--r-- | include/xlocale/Makefile | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/xlocale/Makefile b/include/xlocale/Makefile index a35db507a134..7c20ea96a789 100644 --- a/include/xlocale/Makefile +++ b/include/xlocale/Makefile @@ -2,7 +2,7 @@ NO_OBJ= INCS= _ctype.h _inttypes.h _langinfo.h _locale.h _monetary.h _stdio.h\ - _stdlib.h _string.h _time.h _uchar.h _wchar.h + _stdlib.h _string.h _strings.h _time.h _uchar.h _wchar.h INCSDIR=${INCLUDEDIR}/xlocale .include <bsd.prog.mk> |