Add HAVE_STRINGS_H for better POSIX compliance.

This commit is contained in:
Ralf Corsepius
2010-03-28 05:53:22 +00:00
parent 6e401331b8
commit e005f6e8d9
2 changed files with 6 additions and 0 deletions
+3
View File
@@ -36,6 +36,9 @@
#include <ctype.h>
#include <errno.h>
#include <string.h>
#ifdef HAVE_STRINGS_H
#include <strings.h> /* for strcasecmp */
#endif
#ifndef _PATH_NETCONF
#define _PATH_NETCONF "/etc/host.conf"
+3
View File
@@ -48,6 +48,9 @@ static char *rcsid = "$FreeBSD: src/lib/libc/rpc/svc.c,v 1.14 1999/08/28 00:00:4
#endif
#include <string.h>
#ifdef HAVE_STRINGS_H
#include <strings.h> /* for ffs */
#endif
#include <stdlib.h>
#include <sys/errno.h>
#include <rpc/rpc.h>