summaryrefslogtreecommitdiff
path: root/components/libc
diff options
context:
space:
mode:
authorguozhanxin <[email protected]>2022-03-29 20:50:38 +0800
committerguozhanxin <[email protected]>2022-03-29 20:50:38 +0800
commitf9245ef6fbcf2288309820930d473db39ef95cfa (patch)
treed81b381046152b9bf5fc373a8130c10cadc8b5d4 /components/libc
parent61f1f698ec60db75d314b3782800514c706d7980 (diff)
parenta4a5ec0232ad32b70fed704b2a71803849e610f4 (diff)
Merge branch 'master' of https://github.com/RT-Thread/rt-thread
Diffstat (limited to 'components/libc')
-rw-r--r--components/libc/posix/Kconfig6
1 files changed, 6 insertions, 0 deletions
diff --git a/components/libc/posix/Kconfig b/components/libc/posix/Kconfig
index 411289baf6..ee2fd81a73 100644
--- a/components/libc/posix/Kconfig
+++ b/components/libc/posix/Kconfig
@@ -26,6 +26,12 @@ if RT_USING_POSIX_FS
select RT_USING_POSIX_POLL
default n
+ config RT_USING_POSIX_SOCKET
+ bool "Enable BSD Socket I/O <sys/socket.h> <netdb.h>"
+ select RT_USING_POSIX_SELECT
+ select RT_USING_SAL
+ default n
+
config RT_USING_POSIX_TERMIOS
bool "Enable Terminal I/O <termios.h>"
select RT_USING_POSIX_STDIO