]> xenbits.xensource.com Git - unikraft/libs/lwip.git/commit
Fix compile error when enabling Operation mode (Mainloop (non-threaded).
authorFelipe Huici <felipe.huici@neclab.eu>
Fri, 14 Feb 2020 13:12:14 +0000 (14:12 +0100)
committerSimon Kuenzer <simon.kuenzer@neclab.eu>
Fri, 14 Feb 2020 13:24:25 +0000 (14:24 +0100)
commit2da808bf5ecdbb28b377a934592a237bafb90594
treea56d361c4ce63121baadcb8d37846463cb9cf61e
parentc58229f3f9e99c7b4ea29ae7b6a37b3e5d7322b8
Fix compile error when enabling Operation mode (Mainloop (non-threaded).

Enabling operating mode non-threaded (aka CONFIG_LWIP_NOTHREADS)
disables the socket API from lwip. This commit makes it so that our
socket-related glue code isn't added to the build if this option is
enabled.

Signed-off-by: Felipe Huici <felipe.huici@neclab.eu>
Reviewed-by: Simon Kuenzer <simon.kuenzer@neclab.eu>
Makefile.uk
include/netdb.h
include/sys/socket.h