selftests/filesystems: devpts_pts included wrong header
authorAnders Roxell <anders.roxell@linaro.org>
Wed, 18 Apr 2018 07:52:55 +0000 (09:52 +0200)
committerShuah Khan (Samsung OSG) <shuah@kernel.org>
Wed, 30 May 2018 21:21:51 +0000 (15:21 -0600)
commitdd4b16b4f9b1b7d9f4a185cb8222e42f3a5daf00
treeb040ed4b4b0c70db309626ddd32f6aaca80a10ea
parent0dd3a6945f5dd4864db809ff015a493d80c65898
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>
tools/testing/selftests/filesystems/Makefile
tools/testing/selftests/filesystems/devpts_pts.c