summary refs log tree commit diff stats
path: root/python
diff options
context:
space:
mode:
authorPaolo Bonzini <pbonzini@redhat.com>2025-05-28 11:20:13 +0200
committerPaolo Bonzini <pbonzini@redhat.com>2025-05-28 19:00:41 +0200
commit5150004ccf5fe72c35b3263fbed6f4d06ed3cc6a (patch)
treef827e8968b80a2f0f4253771aa0f6ddeb956ed67 /python
parent341ed3eae4179273788d2f74579862a10e18cf81 (diff)
downloadfocaccia-qemu-5150004ccf5fe72c35b3263fbed6f4d06ed3cc6a.tar.gz
focaccia-qemu-5150004ccf5fe72c35b3263fbed6f4d06ed3cc6a.zip
rocker: do not pollute the namespace
Do not leave the __le* macros defined, in fact do not use them at all.  Fixes a
build failure on Alpine with the TDX patches:

In file included from ../hw/net/rocker/rocker_of_dpa.c:25:
../hw/net/rocker/rocker_hw.h:14:16: error: conflicting types for 'uint64_t'; have '__u64' {aka 'long long unsigned int'}
   14 | #define __le64 uint64_t
      |                ^~~~~~~~
In file included from /usr/include/stdint.h:20,
                 from ../include/qemu/osdep.h:111,
                 from ../hw/net/rocker/rocker_of_dpa.c:17:
/usr/include/bits/alltypes.h:136:25: note: previous declaration of 'uint64_t' with type 'uint64_t' {aka 'long unsigned int'}
  136 | typedef unsigned _Int64 uint64_t;
      |                         ^~~~~~~~

because the Linux headers include a typedef of __leNN.

Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'python')
0 files changed, 0 insertions, 0 deletions