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/gethostbyht.c | |
parent | b1bac8d46a7c56ccb2ce3cf2190dcfebf2a7c635 (diff) |
Add HAVE_STRINGS_H for better POSIX compliance.
Diffstat (limited to 'cpukit/libnetworking/libc/gethostbyht.c')
-rw-r--r-- | cpukit/libnetworking/libc/gethostbyht.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/cpukit/libnetworking/libc/gethostbyht.c b/cpukit/libnetworking/libc/gethostbyht.c index 915adfc62c..4228b1c8c8 100644 --- a/cpukit/libnetworking/libc/gethostbyht.c +++ b/cpukit/libnetworking/libc/gethostbyht.c @@ -65,6 +65,9 @@ #include <ctype.h> #include <errno.h> #include <string.h> +#ifdef HAVE_STRINGS_H +#include <strings.h> +#endif #include <arpa/nameser.h> /* XXX */ #include <resolv.h> /* XXX */ #include <sys/fcntl.h> |