aboutsummaryrefslogtreecommitdiff
path: root/softmmu
diff options
context:
space:
mode:
authorPaolo Bonzini <pbonzini@redhat.com>2020-02-06 14:17:15 +0100
committerPaolo Bonzini <pbonzini@redhat.com>2020-08-21 06:30:44 -0400
commit35be72ba729d0fcd85c929597edb692c1d0f3bdc (patch)
tree3e726ed1a4c5cbcc2fad995fee6c5dcc64163b48 /softmmu
parentffac93df19d33387645376c32a4a789d204e6fcd (diff)
meson: move SDL and SDL-image detection to meson
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'softmmu')
-rw-r--r--softmmu/main.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/softmmu/main.c b/softmmu/main.c
index 7adc530c73..639c67ff48 100644
--- a/softmmu/main.c
+++ b/softmmu/main.c
@@ -29,6 +29,7 @@
#ifdef CONFIG_SDL
#if defined(__APPLE__) || defined(main)
#include <SDL.h>
+static int qemu_main(int argc, char **argv, char **envp);
int main(int argc, char **argv)
{
return qemu_main(argc, argv, NULL);