Commit 14e02d12 authored by Tim-Philipp Müller's avatar Tim-Philipp Müller

meson: fix joystick header check for jseek example

parent 7b8aa8cf
......@@ -2,8 +2,10 @@ if gtk_x11_dep.found()
if cc.compiles('''
#include <linux/input.h>
#include <linux/joystick.h>
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],
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment