From c2add5cb4e0070ceebed2d955c51e7e42aee2ebb Mon Sep 17 00:00:00 2001 From: chenyong <1521761801@qq.com> Date: Thu, 2 Aug 2018 17:55:01 +0800 Subject: [net][at] Add AT Socket select LIBC configure. --- components/net/at/Kconfig | 1 + components/net/at/at_socket/at_socket.c | 1 + 2 files changed, 2 insertions(+) (limited to 'components/net/at') diff --git a/components/net/at/Kconfig b/components/net/at/Kconfig index df34b70091..dde3dda5b3 100644 --- a/components/net/at/Kconfig +++ b/components/net/at/Kconfig @@ -61,6 +61,7 @@ if RT_USING_AT config AT_USING_SOCKET bool "Provide similar BSD Socket API by AT" + select RT_USING_LIBC default n endif diff --git a/components/net/at/at_socket/at_socket.c b/components/net/at/at_socket/at_socket.c index 0beaa9645c..5646f1049f 100644 --- a/components/net/at/at_socket/at_socket.c +++ b/components/net/at/at_socket/at_socket.c @@ -26,6 +26,7 @@ #include #include #include +#include #include -- cgit v1.3.1