diff options
author | Stephen Rothwell <sfr@canb.auug.org.au> | 2021-09-30 09:20:10 +1000 |
---|---|---|
committer | Stephen Rothwell <sfr@canb.auug.org.au> | 2021-09-30 09:20:10 +1000 |
commit | ab387d89160be3cf79ccc3029c1ae8b29d257a6a (patch) | |
tree | b2db978412155aa182b2be17373c7fff7aaf6a1e | |
parent | 3091bb41bec2885dd51d22221de2dcd658d8ec80 (diff) | |
parent | 2f9602870886af74d97bac23ee6db5f5466d0a49 (diff) | |
download | devel-ab387d89160be3cf79ccc3029c1ae8b29d257a6a.tar.gz |
Merge branch 'fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/shuah/linux-kselftest.git
-rw-r--r-- | tools/testing/selftests/drivers/dma-buf/udmabuf.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/tools/testing/selftests/drivers/dma-buf/udmabuf.c b/tools/testing/selftests/drivers/dma-buf/udmabuf.c index 4de902ea14d82b..de1c4e6de0b211 100644 --- a/tools/testing/selftests/drivers/dma-buf/udmabuf.c +++ b/tools/testing/selftests/drivers/dma-buf/udmabuf.c @@ -1,10 +1,13 @@ // SPDX-License-Identifier: GPL-2.0 +#define _GNU_SOURCE +#define __EXPORTED_HEADERS__ + #include <stdio.h> #include <stdlib.h> #include <unistd.h> #include <string.h> #include <errno.h> -#include <linux/fcntl.h> +#include <fcntl.h> #include <malloc.h> #include <sys/ioctl.h> |