diff options
author | Anders Roxell <anders.roxell@linaro.org> | 2018-04-18 09:52:55 +0200 |
---|---|---|
committer | Shuah Khan (Samsung OSG) <shuah@kernel.org> | 2018-05-30 23:21:51 +0200 |
commit | dd4b16b4f9b1b7d9f4a185cb8222e42f3a5daf00 (patch) | |
tree | b040ed4b4b0c70db309626ddd32f6aaca80a10ea /tools/testing/selftests/filesystems/Makefile | |
parent | selftests/x86: Detect -no-pie availability (diff) | |
download | linux-dd4b16b4f9b1b7d9f4a185cb8222e42f3a5daf00.tar.xz linux-dd4b16b4f9b1b7d9f4a185cb8222e42f3a5daf00.zip |
selftests/filesystems: devpts_pts included wrong header
We were picking up the wrong header should use asm/ioctls.h form the kernel
and not the header from the system (sys/ioctl.h). In the current code we
added the correct include and we added the kernel headers path to the CFLAGS.
Fixes: ce290a19609d ("selftests: add devpts selftests")
Signed-off-by: Anders Roxell <anders.roxell@linaro.org>
Acked-by: Christian Brauner <christian.brauner@ubuntu.com>
Signed-off-by: Shuah Khan (Samsung OSG) <shuah@kernel.org>
Diffstat (limited to 'tools/testing/selftests/filesystems/Makefile')
-rw-r--r-- | tools/testing/selftests/filesystems/Makefile | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/tools/testing/selftests/filesystems/Makefile b/tools/testing/selftests/filesystems/Makefile index 5c7d7001ad37..129880fb42d3 100644 --- a/tools/testing/selftests/filesystems/Makefile +++ b/tools/testing/selftests/filesystems/Makefile @@ -1,5 +1,6 @@ # SPDX-License-Identifier: GPL-2.0 +CFLAGS += -I../../../../usr/include/ TEST_GEN_PROGS := devpts_pts TEST_GEN_PROGS_EXTENDED := dnotify_test |