diff options
Diffstat (limited to 'components/net/at')
| -rw-r--r-- | components/net/at/Kconfig | 1 | ||||
| -rw-r--r-- | components/net/at/at_socket/at_socket.c | 1 |
2 files changed, 2 insertions, 0 deletions
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 <stdlib.h> #include <string.h> #include <ctype.h> +#include <sys/time.h> #include <at_socket.h> |
