summaryrefslogtreecommitdiff
path: root/apps/nshlib
diff options
context:
space:
mode:
Diffstat (limited to 'apps/nshlib')
-rw-r--r--apps/nshlib/nsh_netcmds.c4
-rw-r--r--apps/nshlib/nsh_netinit.c2
2 files changed, 3 insertions, 3 deletions
diff --git a/apps/nshlib/nsh_netcmds.c b/apps/nshlib/nsh_netcmds.c
index b1789d123..62c1d012a 100644
--- a/apps/nshlib/nsh_netcmds.c
+++ b/apps/nshlib/nsh_netcmds.c
@@ -69,7 +69,7 @@
#if defined(CONFIG_NET_ICMP) && defined(CONFIG_NET_ICMP_PING) && \
!defined(CONFIG_DISABLE_CLOCK) && !defined(CONFIG_DISABLE_SIGNALS)
# include <apps/netutils/uiplib.h>
-# include <apps/netutils/resolv.h>
+# include <apps/netutils/dnsclient.h>
#endif
#if defined(CONFIG_NET_UDP) && CONFIG_NFILE_DESCRIPTORS > 0
@@ -88,7 +88,7 @@
# ifdef CONFIG_HAVE_GETHOSTBYNAME
# include <netdb.h>
# else
-# include <apps/netutils/resolv.h>
+# include <apps/netutils/dnsclient.h>
# endif
# include <apps/netutils/dhcpc.h>
#endif
diff --git a/apps/nshlib/nsh_netinit.c b/apps/nshlib/nsh_netinit.c
index 9a44f4905..5afa4b56c 100644
--- a/apps/nshlib/nsh_netinit.c
+++ b/apps/nshlib/nsh_netinit.c
@@ -48,7 +48,7 @@
#include <apps/netutils/uiplib.h>
#if defined(CONFIG_NSH_DHCPC) || defined(CONFIG_NSH_DNS)
-# include <apps/netutils/resolv.h>
+# include <apps/netutils/dnsclient.h>
# include <apps/netutils/dhcpc.h>
#endif