|
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: [Minios-devel] [UNIKRAFT/NEWLIB PATCH v2 6/6] poll.h: Include lwip/sockets.h if lwIP is available
Hi Florian, this looks good, thanks.
Reviewed-by: Felipe Huici <felipe.huici@xxxxxxxxx>
On 28.05.19, 09:56, "Florian Schmidt" <Florian.Schmidt@xxxxxxxxx> wrote:
for POLLIN and friends.
Signed-off-by: Florian Schmidt <florian.schmidt@xxxxxxxxx>
Reviewed-by: Felipe Huici <felipe.huici@xxxxxxxxx>
---
include/sys/poll.h | 7 ++++---
1 file changed, 4 insertions(+), 3 deletions(-)
diff --git a/include/sys/poll.h b/include/sys/poll.h
index 556e038..0485658 100644
--- a/include/sys/poll.h
+++ b/include/sys/poll.h
@@ -34,10 +34,11 @@
#ifndef _POSIX_SYS_POLL_H_
#define _POSIX_SYS_POLL_H_
-/* LWIP's socket interface provides poll primitives */
#include <uk/config.h>
-#if !CONFIG_LWIP_SOCKET
-
+/* LWIP's socket interface provides poll primitives */
+#if CONFIG_LWIP_SOCKET
+#include <lwip/sockets.h>
+#else
/*
* This file is intended to be compatible with the traditional poll.h.
*/
--
2.21.0
_______________________________________________
Minios-devel mailing list
Minios-devel@xxxxxxxxxxxxxxxxxxxx
https://lists.xenproject.org/mailman/listinfo/minios-devel
|
![]() |
Lists.xenproject.org is hosted with RackSpace, monitoring our |