[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Minios-devel] [UNIKRAFT/NEWLIB PATCH 6/6] poll.h: Include lwip/sockets.h if lwIP is available


  • To: Florian Schmidt <Florian.Schmidt@xxxxxxxxx>, "minios-devel@xxxxxxxxxxxxx" <minios-devel@xxxxxxxxxxxxx>
  • From: Felipe Huici <Felipe.Huici@xxxxxxxxx>
  • Date: Mon, 27 May 2019 12:08:05 +0000
  • Accept-language: en-US, de-DE
  • Delivery-date: Mon, 27 May 2019 12:08:12 +0000
  • List-id: Mini-os development list <minios-devel.lists.xenproject.org>
  • Thread-index: AQHVDv+FzujpNeJvekCF3Grm+AaKDaZ+666A
  • Thread-topic: [Minios-devel] [UNIKRAFT/NEWLIB PATCH 6/6] poll.h: Include lwip/sockets.h if lwIP is available

Hi Florian,

The patch looks good, thanks.

-- Felipe

Reviewed-by: Felipe Huici <felipe.huici@xxxxxxxxx>

============================================================
Dr. Felipe Huici
Chief Researcher, Systems and Machine Learning Group
NEC Laboratories Europe GmbH
Kurfuerstenanlage 36, D-69115 Heidelberg
Tel.  +49
(0)6221 4342-241
Fax:  +49
(0)6221 4342-155
 
e-mail:
felipe.huici@xxxxxxxxx
============================================================
Registered at Amtsgericht Mannheim, Germany, HRB728558

On 20.05.19, 13:31, "Minios-devel on behalf of Florian Schmidt" 
<minios-devel-bounces@xxxxxxxxxxxxxxxxxxxx on behalf of 
florian.schmidt@xxxxxxxxx> wrote:

    for POLLIN and friends.
    
    Signed-off-by: Florian Schmidt <florian.schmidt@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

_______________________________________________
Minios-devel mailing list
Minios-devel@xxxxxxxxxxxxxxxxxxxx
https://lists.xenproject.org/mailman/listinfo/minios-devel

 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.