Remove bogus references to CONFIG_HAVE_GETHOSTBYNAME

This commit is contained in:
Gregory Nutt
2015-07-10 14:03:28 -06:00
parent 6bfef5b2de
commit 5e8928d009
4 changed files with 9 additions and 15 deletions

View File

@@ -86,11 +86,8 @@
#endif
#if defined(CONFIG_NSH_DHCPC) || defined(CONFIG_NSH_DNS)
# ifdef CONFIG_HAVE_GETHOSTBYNAME
# include <netdb.h>
# else
# include <nuttx/net/dnsclient.h>
# endif
# include <netdb.h>
# include <nuttx/net/dnsclient.h>
# include <apps/netutils/dhcpc.h>
#endif