]> git.proxmox.com Git - mirror_lxc.git/commitdiff
tree-wide: minimize liburing.h inclusion
authorChristian Brauner <brauner@kernel.org>
Wed, 17 Aug 2022 07:39:25 +0000 (09:39 +0200)
committerChristian Brauner (Microsoft) <christian.brauner@ubuntu.com>
Wed, 17 Aug 2022 07:39:25 +0000 (09:39 +0200)
because it brings in linux/fs.h and defines struct open_how.

Signed-off-by: Christian Brauner (Microsoft) <christian.brauner@ubuntu.com>
src/lxc/macro.h
src/lxc/mainloop.h

index f00230060644a1e532760c97366f1c84ecb493f4..58e3a7f25a0db492f59fe6b60e2b79d50d476368 100644 (file)
 
 #include "compiler.h"
 
-#if HAVE_LIBURING
-#include <liburing.h>
-#endif
-
 #ifndef PATH_MAX
 #define PATH_MAX 4096
 #endif
index d6995910a92a1915e8bfaab18dc5ed70ae71827c..7d644b7563f45f24c661de94ae3accd6887110c9 100644 (file)
 #include "hlist.h"
 #include "memory_utils.h"
 
-#if HAVE_LIBURING
-#include <liburing.h>
-#endif
-
 #define LXC_MAINLOOP_ERROR -1
 #define LXC_MAINLOOP_CONTINUE 0
 #define LXC_MAINLOOP_CLOSE 1