Linux: Forward declaration of struct iovec for process_madvise
authorFlorian Weimer <fweimer@redhat.com>
Wed, 29 Jun 2022 11:50:50 +0000 (13:50 +0200)
committerFlorian Weimer <fweimer@redhat.com>
Wed, 29 Jun 2022 11:50:50 +0000 (13:50 +0200)
commitecd0fbebc0ce2818ac87ca1ed2ce46a733e8c839
tree0d05f57c6ed6d336b839f8b2ef373eba91ff7199
parenta3563f3f369878467dd74aeb360448119a7a4b41
Linux: Forward declaration of struct iovec for process_madvise

This maintains compatibility between <sys/mman.h> and <linux/uio.h>.
Before that, the addition of process_madvise made those two header
files incompatible.  This has been observed resulting in a build
failure in LLDB's Process/Linux/NativeRegisterContextLinux_s390x.cpp
source file.

Fixes commit d19ee3473d68ca0e794f3a8b7677a0983ae1342e
("linux: Add process_madvise").

Reviewed-by: Adhemerval Zanella <adhemerval.zanella@linaro.org>
sysdeps/unix/sysv/linux/bits/mman_ext.h