mirror of
https://gitlab.rtems.org/rtems/rtos/rtems.git
synced 2026-09-23 18:31:41 +08:00
Add HAVE_STRINGS_H for better POSIX compliance.
This commit is contained in:
@@ -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"
|
||||
|
||||
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user