mirror of
https://github.com/apache/nuttx-apps.git
synced 2025-10-19 19:44:35 +08:00
Remove bogus references to CONFIG_HAVE_GETHOSTBYNAME
This commit is contained in:
@@ -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
|
||||
|
||||
|
Reference in New Issue
Block a user