[posix] add RT_USING_POSIX_SOCKET (#5731)

This commit is contained in:
Man, Jianting (Meco)
2022-03-29 01:39:55 -04:00
committed by GitHub
parent f587a55bc2
commit be892de35a
4 changed files with 18 additions and 20 deletions

View File

@@ -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