]> git.ipfire.org Git - thirdparty/systemd.git/commit
linux: include sys/socket.h in linux/vm_sockets.h
authorYu Watanabe <watanabe.yu+github@gmail.com>
Wed, 30 Apr 2025 03:21:24 +0000 (12:21 +0900)
committerDaan De Meyer <daan.j.demeyer@gmail.com>
Wed, 30 Apr 2025 05:37:34 +0000 (07:37 +0200)
commit0dc09ccba755cd1cd627f074656b0b6b4a38e039
tree70cea4dc01626596f54867e70519cfd372d790dc
parent3a03b97d6f7693feddcfbc3b20a4a7580962260f
linux: include sys/socket.h in linux/vm_sockets.h

The header requires struct sockaddr declared. So, otherwise, we need to
include sys/socket.h earlier than linux/vm_sockets.h.
Let's make the header includable at any place.
src/basic/include/linux/update.sh
src/basic/include/linux/vm_sockets.h
src/basic/socket-util.h