From: Tim-Philipp Müller Date: Sun, 4 Sep 2016 20:41:04 +0000 (+0100) Subject: meson: fix joystick header check for jseek example X-Git-Tag: 1.19.3~511^2~2683 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=14e02d127ac042c6102d6d06b3d01595f3c3412a;p=platform%2Fupstream%2Fgstreamer.git meson: fix joystick header check for jseek example --- diff --git a/tests/examples/seek/meson.build b/tests/examples/seek/meson.build index 2aaab9c..fc6ce23 100644 --- a/tests/examples/seek/meson.build +++ b/tests/examples/seek/meson.build @@ -2,8 +2,10 @@ if gtk_x11_dep.found() if cc.compiles(''' #include #include - struct js_event js; - js.type = JS_EVENT_AXIS''', name : 'Linux joystick headers needed by jseek example') + void foo (void) { + struct js_event js; + js.type = JS_EVENT_AXIS; + }''', name : 'Linux joystick headers needed by jseek example') executable('jsseek', 'jsseek.c', c_args : gst_plugins_base_args, include_directories: [configinc, libsinc],