aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEdward Liaw <edliaw@google.com>2023-10-11 18:46:26 +0000
committerEdward Liaw <edliaw@google.com>2024-01-12 19:43:52 +0000
commit4d1c5de466a4b3c187e180b921ea3d038fcc3b23 (patch)
tree2712289124469a9218ecd3f6e214e8c53ff0a453
parent0f37dbe8d9ef98d675374c0491d0c82265456411 (diff)
downloadltp-4d1c5de466a4b3c187e180b921ea3d038fcc3b23.tar.gz
config.h: Compile with linux/ioprio.h to fix ioprio_set03
Use bionic's ioprio header for testing. Bug: 297317502 Bug: 295032179 Test: atest vts_ltp_test_x86_64:syscalls.ioprio_set03_64bit Signed-off-by: Edward Liaw <edliaw@google.com> (cherry picked from https://android-review.googlesource.com/q/commit:65e659e248cfc231ff34999630f7b32529bb463c) Change-Id: I175eee5b0b010fe0dc466505064601273e066093 Merged-In: I175eee5b0b010fe0dc466505064601273e066093
-rw-r--r--android/include/config.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/android/include/config.h b/android/include/config.h
index 951da923d..514f10a18 100644
--- a/android/include/config.h
+++ b/android/include/config.h
@@ -111,6 +111,9 @@
/* Define to 1 if you have `io_set_eventfd' function. */
/* #undef HAVE_IO_SET_EVENTFD */
+/* Define to 1 if you have the <linux/ioprio.h> header file. */
+#define HAVE_LINUX_IOPRIO_H 1
+
/* Define to 1 if you have the `kcmp' function. */
/* #undef HAVE_KCMP */