summaryrefslogtreecommitdiff
path: root/components/libc
diff options
context:
space:
mode:
authorMan, Jianting (Meco) <[email protected]>2022-03-29 01:39:55 -0400
committerGitHub <[email protected]>2022-03-29 13:39:55 +0800
commitbe892de35a5f9db4b4468a354aa6e43414e7e5f9 (patch)
tree6dc28c935ba1742e71369baee00625e749a24f61 /components/libc
parentf587a55bc2006f4316383425d518b734e42bb4a2 (diff)
[posix] add RT_USING_POSIX_SOCKET (#5731)
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