diff options
author | Ralf Corsepius <ralf.corsepius@rtems.org> | 2010-03-28 05:53:22 +0000 |
---|---|---|
committer | Ralf Corsepius <ralf.corsepius@rtems.org> | 2010-03-28 05:53:22 +0000 |
commit | e005f6e8d9c3b85c3b0adda9131163b56261aab8 (patch) | |
tree | 9d3d8ea7dbe76f4e82cd474af18b8916f2797152 /cpukit/libnetworking | |
parent | 2010-03-28 Ralf Corsépius <ralf.corsepius@rtems.org> (diff) | |
download | rtems-e005f6e8d9c3b85c3b0adda9131163b56261aab8.tar.bz2 |
Add HAVE_STRINGS_H for better POSIX compliance.
Diffstat (limited to 'cpukit/libnetworking')
-rw-r--r-- | cpukit/libnetworking/libc/getnetnamadr.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/cpukit/libnetworking/libc/getnetnamadr.c b/cpukit/libnetworking/libc/getnetnamadr.c index 736444fc14..eb98477096 100644 --- a/cpukit/libnetworking/libc/getnetnamadr.c +++ b/cpukit/libnetworking/libc/getnetnamadr.c @@ -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" |