Properly check for syscall (#9845)
This commit is contained in:
parent
02fde5f1aa
commit
ba4d9709c6
@ -355,7 +355,7 @@ def configure(conf):
|
|||||||
features = 'c',
|
features = 'c',
|
||||||
mandatory = False,
|
mandatory = False,
|
||||||
execute = False,
|
execute = False,
|
||||||
fragment = "#include <sys/syscall.h>\nint main () { syscall(SYS_ioprio_set, 1, 0, 8192); return 0; }")
|
fragment = "#include <unistd.h>\n#include <sys/syscall.h>\nint main () { syscall(SYS_ioprio_set, 1, 0, 8192); return 0; }")
|
||||||
|
|
||||||
if have_sys_ioprio:
|
if have_sys_ioprio:
|
||||||
conf.define('HAVE_IOPRIO', 1)
|
conf.define('HAVE_IOPRIO', 1)
|
||||||
|
Loading…
Reference in New Issue
Block a user