diff options
author | Hoegeun Kwon <hoegeun.kwon@samsung.com> | 2017-04-18 10:43:30 +0900 |
---|---|---|
committer | Hoegeun Kwon <hoegeun.kwon@samsung.com> | 2017-04-18 14:20:14 +0900 |
commit | 1010a2b8163d7d495a343c0acd52cc1ede837ae6 (patch) | |
tree | b67e6a974e0f5e88ca97414e607873b0114be1d5 | |
parent | ac415e5eb05ecb7c218da03147ec5338d8394e30 (diff) | |
download | libdrm-1010a2b8163d7d495a343c0acd52cc1ede837ae6.tar.gz libdrm-1010a2b8163d7d495a343c0acd52cc1ede837ae6.tar.bz2 libdrm-1010a2b8163d7d495a343c0acd52cc1ede837ae6.zip |
ipptest: Fix implicit-function-declaration build warning
fimc.c:506:2: warning: implicit declaration of function 'ioctl' [-Wimplicit-function-declaration]
ret = ioctl(fd, DRM_IOCTL_EXYNOS_IPP_SET_PROPERTY, property);
rotator.c:72:2: warning: implicit declaration of function 'ioctl' [-Wimplicit-function-declaration]
ret = ioctl(fd, DRM_IOCTL_EXYNOS_IPP_SET_PROPERTY, property);
Change-Id: I98d220d02c4771f61fbd827064bba94edba9f62e
Signed-off-by: Hoegeun Kwon <hoegeun.kwon@samsung.com>
-rw-r--r-- | tests/ipptest/fimc.c | 1 | ||||
-rw-r--r-- | tests/rottest/rotator.c | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/tests/ipptest/fimc.c b/tests/ipptest/fimc.c index 3f4d07d2..c18986d9 100644 --- a/tests/ipptest/fimc.c +++ b/tests/ipptest/fimc.c @@ -32,6 +32,7 @@ #include <unistd.h> #include <string.h> #include <errno.h> +#include <sys/ioctl.h> #include <sys/time.h> #include <sys/mman.h> diff --git a/tests/rottest/rotator.c b/tests/rottest/rotator.c index c7685145..10972cac 100644 --- a/tests/rottest/rotator.c +++ b/tests/rottest/rotator.c @@ -32,6 +32,7 @@ #include <unistd.h> #include <string.h> #include <errno.h> +#include <sys/ioctl.h> #include <sys/time.h> #include <sys/mman.h> |