Add missing include statement for global xml_builtin

This fixes some compiler warnings with compiler flag
-Wmissing-variable-declarations (tested with clang):

    aarch64_be-linux-user-gdbstub-xml.c:564:19: warning: no previous extern declaration for non-static variable 'xml_builtin' [-Wmissing-variable-declarations]
    aarch64-linux-user-gdbstub-xml.c:564:19: warning: no previous extern declaration for non-static variable 'xml_builtin' [-Wmissing-variable-declarations]
    aarch64-softmmu-gdbstub-xml.c:1763:19: warning: no previous extern declaration for non-static variable 'xml_builtin' [-Wmissing-variable-declarations]

Signed-off-by: Stefan Weil <sw@weilnetz.de>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
This commit is contained in:
Stefan Weil 2022-11-03 09:38:15 +01:00 committed by Paolo Bonzini
parent b5d3dac170
commit efa3901e14

View File

@ -56,6 +56,7 @@ for input; do
done done
echo echo
echo '#include "exec/gdbstub.h"'
echo "const char *const xml_builtin[][2] = {" echo "const char *const xml_builtin[][2] = {"
for input; do for input; do