]> git.ipfire.org Git - thirdparty/systemd.git/commit
musl: avoid conflict between fcntl.h and basic-forward.h
authorYu Watanabe <watanabe.yu+github@gmail.com>
Mon, 21 Jul 2025 18:37:37 +0000 (03:37 +0900)
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Wed, 12 Nov 2025 22:28:01 +0000 (23:28 +0100)
commit43e4c91fc0ccf290a1b326038b5982308aee693b
tree3827ebec534563db5895b8c8565b28eb94a54bd6
parentfe6e6cb6a00109b1162f5c9727878d692e6915b5
musl: avoid conflict between fcntl.h and basic-forward.h

glibc defines AT_FDCWD as -100, but musl defines it as (-100).
In basic-forward.h, we also define AT_FDCWD as -100, hence musl's fcntl.h
conflicts with forward.h. This is for avoiding the conflict.
src/basic/basic-forward.h