New commits:
commit e16b8d169148d9b1b367fe55c96111ed7069ea10
Author: Andrew Cagney <[email protected]>
Date:   Wed Oct 12 15:12:25 2022 -0400

    building(linux): include <netinet/in.h> _before_ kernel headers like xfrm.h
    
    Linux include headers define sockaddr_in both in:
    
       <netinet/in.h> - GLIBC or MUSL C library
       <linux/in.h> - the Linux kernel header
    
    (ditto for sockaddr_in6) which means that including both will result
    in a clash.
    
    Fortunately, hacks have been added to avoid this.  Specifically, both
    GLIBC and MUSL define macros that stop the Linux kernel headers
    (notably <linux/xfrm.h>) from including <linux/in.h> when
    <netinet/in.h> has already been included.  Hence this change to always
    include <netinet/in.h> first.
    
    (GLIBC also has hacks handle to handle the reverse case, but not
    MUSL).

commit f8d68091d897e755480f3fd4179d1788db84d614
Author: Andrew Cagney <[email protected]>
Date:   Wed Oct 12 15:09:59 2022 -0400

    building(linux): add #ifdef/#define wrappers to netlink headers
    
    ... and missing includes + struct declarations

commit 106be441c98b2c46e21061b26800e27a5bc7e2f8
Author: Andrew Cagney <[email protected]>
Date:   Wed Oct 12 11:48:30 2022 -0400

    testing: add more magic to algo.sh - transport|tunnel ipv4|ipv6 ...

_______________________________________________
Swan-commit mailing list
[email protected]
https://lists.libreswan.org/mailman/listinfo/swan-commit

Reply via email to