basic/missing_ioprio: include the proper header file
IOPRIO_* is defined in linux/ioprio.h, so we were always using our fallback definitions. The header list in meson.build is sorted. I'm not sure why it wasn't.
This commit is contained in:
@@ -1,7 +1,9 @@
|
||||
/* SPDX-License-Identifier: LGPL-2.1-or-later */
|
||||
#pragma once
|
||||
|
||||
#include <sched.h>
|
||||
#if HAVE_LINUX_IOPRIO_H
|
||||
# include <linux/ioprio.h>
|
||||
#endif
|
||||
|
||||
/* Match values uses by the kernel internally, as no public header seems to exist. */
|
||||
|
||||
|
||||
Reference in New Issue
Block a user