summaryrefslogtreecommitdiff
path: root/components
diff options
context:
space:
mode:
authorBernard Xiong <[email protected]>2019-05-12 20:40:45 +0800
committerGitHub <[email protected]>2019-05-12 20:40:45 +0800
commita5b611bfd9d35c48c5c5aba55aed857992df6550 (patch)
tree002e304260ff6ba0fee9f7e8ab852c2cafdc48c6 /components
parentb7cc4e9c8ad48f49e20f310298a1adbe1567d710 (diff)
parentefdb51504c95e8731da4a24ff1b081746c9f5c53 (diff)
Merge pull request #2679 from Lawlieta/develop_sal
[net][sal] Fix sys/time.h missing error when not enabled POSIX support
Diffstat (limited to 'components')
-rw-r--r--components/net/Kconfig2
1 files changed, 1 insertions, 1 deletions
diff --git a/components/net/Kconfig b/components/net/Kconfig
index 30472e57b1..68737176ed 100644
--- a/components/net/Kconfig
+++ b/components/net/Kconfig
@@ -5,6 +5,7 @@ menu "Socket abstraction layer"
config RT_USING_SAL
bool "Enable socket abstraction layer"
select RT_USING_NETDEV
+ select RT_USING_LIBC
select RT_USING_SYSTEM_WORKQUEUE
default n
@@ -36,7 +37,6 @@ config RT_USING_SAL
bool "Enable BSD socket operated by file system API"
default n
select RT_USING_DFS
- select RT_USING_LIBC
select RT_USING_POSIX
help
Let BSD socket operated by file system API, such as read/write and involveed in select/poll POSIX APIs.