From: Christian Brauner Date: Wed, 17 Aug 2022 07:39:25 +0000 (+0200) Subject: tree-wide: minimize liburing.h inclusion X-Git-Tag: v6.0.0~101^2~4 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=68cf564890a36a1a094aa08af5cd34fab24e59d3;p=thirdparty%2Flxc.git tree-wide: minimize liburing.h inclusion because it brings in linux/fs.h and defines struct open_how. Signed-off-by: Christian Brauner (Microsoft) --- diff --git a/src/lxc/macro.h b/src/lxc/macro.h index f00230060..58e3a7f25 100644 --- a/src/lxc/macro.h +++ b/src/lxc/macro.h @@ -22,10 +22,6 @@ #include "compiler.h" -#if HAVE_LIBURING -#include -#endif - #ifndef PATH_MAX #define PATH_MAX 4096 #endif diff --git a/src/lxc/mainloop.h b/src/lxc/mainloop.h index d6995910a..7d644b756 100644 --- a/src/lxc/mainloop.h +++ b/src/lxc/mainloop.h @@ -11,10 +11,6 @@ #include "hlist.h" #include "memory_utils.h" -#if HAVE_LIBURING -#include -#endif - #define LXC_MAINLOOP_ERROR -1 #define LXC_MAINLOOP_CONTINUE 0 #define LXC_MAINLOOP_CLOSE 1