From c31c7ec4bcd7bb0d7b28897d730431c02b9d4ea1 Mon Sep 17 00:00:00 2001 From: Stefan Hajnoczi Date: Wed, 24 Jul 2019 09:24:50 +0100 Subject: src/Makefile: keep private headers in It is not possible to install barrier.h and compat.h into the top-level /usr/include directly since they are likely to conflict with other software. io_uring.h could be confused with the system's kernel header file. Put liburing headers into so there is no chance of conflicts or confusion. Existing applications continue to build successfully since the location of is unchanged. In-tree examples and tests require modification because src/liburing.h is moved to src/include/liburing.h. Signed-off-by: Stefan Hajnoczi Signed-off-by: Jens Axboe --- src/register.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/register.c') diff --git a/src/register.c b/src/register.c index 7561575..f5fc196 100644 --- a/src/register.c +++ b/src/register.c @@ -5,8 +5,8 @@ #include #include -#include "compat.h" -#include "io_uring.h" +#include "liburing/compat.h" +#include "liburing/io_uring.h" #include "liburing.h" int io_uring_register_buffers(struct io_uring *ring, const struct iovec *iovecs, -- cgit