]> git.ipfire.org Git - thirdparty/openwrt.git/commit
util-linux: add include linux/unistd.h patch 18539/head
authorMieczyslaw Nalewaj <namiltd@yahoo.com>
Sat, 19 Apr 2025 21:37:57 +0000 (23:37 +0200)
committerHauke Mehrtens <hauke@hauke-m.de>
Sun, 20 Apr 2025 16:33:54 +0000 (18:33 +0200)
commitb96e790419238603acc3f43d4e7ff5eb23573ebc
treeadfd6ba434bd26142211ec6a136d70495277ef95
parent9099721fb46048307dca09135c16955c4bc28434
util-linux: add include linux/unistd.h patch

If SYS_statmount/SYS_listmount is not provided by the libc,
util-linux will fall back to __NR_statmount/__NR_listmount from the
kernel UAPI headers.
However it is not guaranteed that these symbols are actually visible in
mount-api-utils.

Include linux/unistd.h which provides syscall numbers.
While this header is specific to Linux, the code is already using
linux/mount.h.

Signed-off-by: Mieczyslaw Nalewaj <namiltd@yahoo.com>
Link: https://github.com/openwrt/openwrt/pull/18539
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
package/utils/util-linux/patches/0100-include-linux-unistd-h.patch [new file with mode: 0644]