summaryrefslogtreecommitdiff
path: root/components/net
diff options
context:
space:
mode:
authorchenyong <[email protected]>2019-05-12 20:00:05 +0800
committerchenyong <[email protected]>2019-05-12 20:00:05 +0800
commitefdb51504c95e8731da4a24ff1b081746c9f5c53 (patch)
tree6eb49f6b5a71af5157b7a79249602b3bde012ac3 /components/net
parent4de0533a5114fcc03f560d48868d13dab7553fba (diff)
[net][sal] Fix sys/time.h missing error when not enabled POSIX support
Signed-off-by: chenyong <[email protected]>
Diffstat (limited to 'components/net')
-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.