regex: avoid compiler warning
authorEric Blake <eblake@redhat.com>
Mon, 11 Jul 2011 13:32:39 +0000 (07:32 -0600)
committerEric Blake <eblake@redhat.com>
Mon, 11 Jul 2011 13:33:39 +0000 (07:33 -0600)
commit77e4a0d2c9358eced24027df259a0ee1d090f05c
tree6dc0775356097b0a6a58bc4b8b4d79dbae71560f
parent5ee505216a161bde8e9033a2eeb408d3027837ab
regex: avoid compiler warning

Although glibc leaks strcasecmp through <string.h>, this behavior
is not required by POSIX, and HP NonStop needs <strings.h>

* lib/regex.c (includes): Include <strings.h>, for use of
strcasecmp in regcomp.c.
Reported by Jachim Schmitz.

Signed-off-by: Eric Blake <eblake@redhat.com>
ChangeLog
lib/regex.c