]> xenbits.xensource.com Git - unikraft/libs/newlib.git/commit
sys/poll.h: Declare poll() even if CONFIG_LWIP_SOCKET is defined
authorCostin Lupu <costin.lupu@cs.pub.ro>
Sat, 16 Nov 2019 22:06:48 +0000 (00:06 +0200)
committerCostin Lupu <costin.lupu@cs.pub.ro>
Sun, 17 Nov 2019 11:27:43 +0000 (13:27 +0200)
commit5e08cc1a30ffbc731ad67eeccb7ca3b60ba1f9f3
tree13e6f79322cd5448bbf1df4441a0b5310110df31
parentf34ee8effabcc4933eae27ae71ed006180943d21
sys/poll.h: Declare poll() even if CONFIG_LWIP_SOCKET is defined

We need the poll() declaration even when CONFIG_LWIP_SOCKET is defined. We
disable only the macros values if CONFIG_LWIP_SOCKET is defined because lwip
comes with its own values.

Signed-off-by: Costin Lupu <costin.lupu@cs.pub.ro>
Reviewed-by: Stefan Teodorescu <stefanl.teodorescu@gmail.com>
include/sys/poll.h