diff options
author | Daniel P. Berrangé <berrange@redhat.com> | 2022-01-05 13:49:39 +0000 |
---|---|---|
committer | Alex Bennée <alex.bennee@linaro.org> | 2022-01-18 16:42:41 +0000 |
commit | 021e3fa33b57612fd0e1a6b7ced23d3480cfbdca (patch) | |
tree | 82f31d710be37a4467b85237dd96882c6e258542 /hw | |
parent | a41b4fdc445f1aad5f8bdbb36b351415647f91fc (diff) | |
download | qemu-021e3fa33b57612fd0e1a6b7ced23d3480cfbdca.zip qemu-021e3fa33b57612fd0e1a6b7ced23d3480cfbdca.tar.gz qemu-021e3fa33b57612fd0e1a6b7ced23d3480cfbdca.tar.bz2 |
ui: avoid warnings about directdb on Alpine / musl libc
On Alpine, SDL is built with directfb support and this triggers warnings
during QEMU build
In file included from /usr/include/directfb/direct/thread.h:38,
from /usr/include/directfb/direct/debug.h:43,
from /usr/include/directfb/direct/interface.h:36,
from /usr/include/directfb/directfb.h:49,
from /usr/include/SDL2/SDL_syswm.h:80,
from /builds/berrange/qemu/include/ui/sdl2.h:8,
from ../ui/sdl2-gl.c:31:
/usr/include/directfb/direct/os/waitqueue.h:41:25: error: redundant redeclaration of 'direct_waitqueue_init' [-Werror=redundant-decls]
41 | DirectResult DIRECT_API direct_waitqueue_init ( DirectWaitQueue *queue );
| ^~~~~~~~~~~~~~~~~~~~~
Reviewed-by: Philippe Mathieu-Daudé <philmd@redhat.com>
Signed-off-by: Daniel P. Berrangé <berrange@redhat.com>
Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
Message-Id: <20211215141949.3512719-5-berrange@redhat.com>
Message-Id: <20220105135009.1584676-5-alex.bennee@linaro.org>
Diffstat (limited to 'hw')
0 files changed, 0 insertions, 0 deletions