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:
Zbigniew Jędrzejewski-Szmek
2024-03-20 12:25:47 +01:00
parent 27e3e6a321
commit 7258971b13
2 changed files with 6 additions and 3 deletions
+3 -1
View File
@@ -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. */