summaryrefslogtreecommitdiff
path: root/cpukit/libnetworking/libc/res_query.c
diff options
context:
space:
mode:
authorRalf Corsepius <ralf.corsepius@rtems.org>2010-03-27 04:00:53 +0000
committerRalf Corsepius <ralf.corsepius@rtems.org>2010-03-27 04:00:53 +0000
commit39f13cbc46731bdc2b94b0500b34437aabd9729e (patch)
treea58a36ed2ee8cb9f5bed9da5811de829d8331c7a /cpukit/libnetworking/libc/res_query.c
parentb1bac8d46a7c56ccb2ce3cf2190dcfebf2a7c635 (diff)
Add HAVE_STRINGS_H for better POSIX compliance.
Diffstat (limited to 'cpukit/libnetworking/libc/res_query.c')
-rw-r--r--cpukit/libnetworking/libc/res_query.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/cpukit/libnetworking/libc/res_query.c b/cpukit/libnetworking/libc/res_query.c
index 00a0c30041..b742c30315 100644
--- a/cpukit/libnetworking/libc/res_query.c
+++ b/cpukit/libnetworking/libc/res_query.c
@@ -84,6 +84,9 @@
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
+#ifdef HAVE_STRINGS_H
+#include <strings.h>
+#endif
#include "res_config.h"