Bug 30071 - Linux header sync with linux/l2tp.h
Summary: Linux header sync with linux/l2tp.h
Status: UNCONFIRMED
Alias: None
Product: glibc
Classification: Unclassified
Component: libc (show other bugs)
Version: 2.37
: P2 normal
Target Milestone: ---
Assignee: Not yet assigned to anyone
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-02-02 23:10 UTC by Xi Ruoyao
Modified: 2023-02-03 05:20 UTC (History)
2 users (show)

See Also:
Host:
Target:
Build:
Last reconfirmed:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Xi Ruoyao 2023-02-02 23:10:10 UTC
Noticed this warning building systemd-252 with glibc-2.37 and linux-6.1 UAPI headers:

In file included from ../src/libsystemd/sd-netlink/netlink-types-genl.c:10:
../src/basic/linux/l2tp.h:16: warning: "IPPROTO_L2TP" redefined
   16 | #define IPPROTO_L2TP            115
      | 
In file included from ../src/libsystemd/sd-netlink/netlink-types-genl.c:3:
/usr/include/netinet/in.h:85: note: this is the location of the previous definition
   85 | #define IPPROTO_L2TP            IPPROTO_L2TP
      |