diff options
| author | Michael S. Tsirkin <mst@redhat.com> | 2025-12-04 12:22:28 -0500 |
|---|---|---|
| committer | Michael S. Tsirkin <mst@redhat.com> | 2025-12-24 08:02:55 -0500 |
| commit | 94fb5e796ad7d72f66e893da37593f8856657251 (patch) | |
| tree | 1cf0d16fac484ee2ab4dd20607fdad8f49e8713d /include | |
| parent | 9448598b22c50c8a5bb77a9103e2d49f134c9578 (diff) | |
tools/virtio: fix up compiler.h stub
Add #undef __user before and after including compiler_types.h to avoid
redefinition warnings when compiling with system headers that also
define __user. This allows tools/virtio to build without warnings.
Additionally, stub out __must_check
Created using Cursor CLI.
Message-ID: <56424ce95c72cb4957070a7cd3c3c40ad5addaee.1764873799.git.mst@redhat.com>
Acked-by: Jason Wang <jasowang@redhat.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions
