[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: [Minios-devel] [External] [UNIKRAFT/LIBLWIP PATCH] lwip: Add compile guard for struct ifconf
Reviewed-by: Alexander Jung <a.jung@xxxxxxxxxxx> On 2/2/20 2:44 PM, Jung, Alexander wrote: Tested as working for app-python3 via lib-python3. Tested-by: Alexander Jung <a.jung@xxxxxxxxxxx> On 02.02.20, 14:39, "Minios-devel on behalf of Sharan Santhanam" <minios-devel-bounces@xxxxxxxxxxxxxxxxxxxx on behalf of sharan.santhanam@xxxxxxxxx> wrote: This email originated outside the University. Check before clicking links or attachments.Fix to disable redefinition of struct ifconf from python Signed-off-by: Sharan Santhanam <sharan.santhanam@xxxxxxxxx>--- include/net/if.h | 2 ++ 1 file changed, 2 insertions(+)diff --git a/include/net/if.h b/include/net/if.hindex 1eb11d8..4eadc6d 100644 --- a/include/net/if.h +++ b/include/net/if.h @@ -26,6 +26,7 @@ char *if_indextoname (unsigned int, char *); #define IFF_VOLATILE (IFF_LOOPBACK|IFF_POINTOPOINT|IFF_BROADCAST| \ IFF_ECHO|IFF_MASTER|IFF_SLAVE|IFF_RUNNING|IFF_LOWER_UP|IFF_DORMANT)+#if defined(_BSD_SOURCE)struct ifconf { int ifc_len; union { @@ -33,6 +34,7 @@ struct ifconf { struct ifreq *ifcu_req; } ifc_ifcu; }; +#endif /* _BSD_SOURCE */ #define ifc_buf ifc_ifcu.ifcu_buf #define ifc_req ifc_ifcu.ifcu_req--2.7.4_______________________________________________Minios-devel mailing list Minios-devel@xxxxxxxxxxxxxxxxxxxx https://eur02.safelinks.protection.outlook.com/?url=https%3A%2F%2Flists.xenproject.org%2Fmailman%2Flistinfo%2Fminios-devel&data=02%7C01%7Ca.jung%40lancaster.ac.uk%7Cc895175ed4814bf794c208d7a7e55b9f%7C9c9bcd11977a4e9ca9a0bc734090164a%7C1%7C0%7C637162475838368581&sdata=hzJVckQ0kJZHmo2fzWWjooW16uEmfFQWeYG%2FzhLdf0o%3D&reserved=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
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |