Skip to content

Commit

Permalink
tree-wide: minimize liburing.h inclusion
Browse files Browse the repository at this point in the history
because it brings in linux/fs.h and defines struct open_how.

Signed-off-by: Christian Brauner (Microsoft) <christian.brauner@ubuntu.com>
  • Loading branch information
brauner authored and Christian Brauner (Microsoft) committed Aug 17, 2022
1 parent 1df8895 commit 68cf564
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 8 deletions.
4 changes: 0 additions & 4 deletions src/lxc/macro.h
Expand Up @@ -22,10 +22,6 @@

#include "compiler.h"

#if HAVE_LIBURING
#include <liburing.h>
#endif

#ifndef PATH_MAX
#define PATH_MAX 4096
#endif
Expand Down
4 changes: 0 additions & 4 deletions src/lxc/mainloop.h
Expand Up @@ -11,10 +11,6 @@
#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
Expand Down

0 comments on commit 68cf564

Please sign in to comment.