diff options
author | Ralf Corsepius <ralf.corsepius@rtems.org> | 2010-03-27 04:00:53 +0000 |
---|---|---|
committer | Ralf Corsepius <ralf.corsepius@rtems.org> | 2010-03-27 04:00:53 +0000 |
commit | 39f13cbc46731bdc2b94b0500b34437aabd9729e (patch) | |
tree | a58a36ed2ee8cb9f5bed9da5811de829d8331c7a /cpukit/libnetworking/libc/gethostbydns.c | |
parent | 2010-03-27 Ralf Corsépius <ralf.corsepius@rtems.org> (diff) | |
download | rtems-39f13cbc46731bdc2b94b0500b34437aabd9729e.tar.bz2 |
Add HAVE_STRINGS_H for better POSIX compliance.
Diffstat (limited to 'cpukit/libnetworking/libc/gethostbydns.c')
-rw-r--r-- | cpukit/libnetworking/libc/gethostbydns.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/cpukit/libnetworking/libc/gethostbydns.c b/cpukit/libnetworking/libc/gethostbydns.c index 28c31713a0..880b81aa3e 100644 --- a/cpukit/libnetworking/libc/gethostbydns.c +++ b/cpukit/libnetworking/libc/gethostbydns.c @@ -69,6 +69,9 @@ #include <stdio.h> #include <unistd.h> #include <string.h> +#ifdef HAVE_STRINGS_H +#include <strings.h> +#endif #include <netdb.h> #include <resolv.h> #include <ctype.h> |